mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 08:58:41 +00:00
When LOGIN authentication was used, Fleet would send SMTP credentials even if the connection the SMTP server was not secured via TLS. Copying the pattern used in the standard library PlainAuth implementation, we now only send credentials when the connection is secure or the server is localhost. |
||
|---|---|---|
| .. | ||
| templates | ||
| mail.go | ||
| mail_test.go | ||