1
0
Fork 0
forked from forgejo/forgejo

Fix typos in models/ and modules/ (#1248)

This commit is contained in:
Ethan Koenig 2017-03-14 20:52:01 -04:00 committed by Lunny Xiao
parent ec0ae5d50c
commit 021904e4e6
26 changed files with 63 additions and 63 deletions

View file

@ -146,7 +146,7 @@ func (s *smtpSender) Send(from string, to []string, msg io.WriterTo) error {
}
}
// If not using SMTPS, alway use STARTTLS if available
// If not using SMTPS, always use STARTTLS if available
hasStartTLS, _ := client.Extension("STARTTLS")
if !isSecureConn && hasStartTLS {
if err = client.StartTLS(tlsconfig); err != nil {