1
0
mirror of https://github.com/muety/wakapi.git synced 2023-08-10 21:12:56 +03:00

chore: fix typo in error message

This commit is contained in:
Ferdinand Mütsch 2022-03-06 11:52:03 +01:00
parent ed6e51b4df
commit 965d8e22b3

View File

@ -51,7 +51,7 @@ func (s *SMTPSendingService) Send(mail *models.Mail) error {
} }
if len(s.config.Username) == 0 || len(s.config.Password) == 0 { if len(s.config.Username) == 0 || len(s.config.Password) == 0 {
return errors.New("smtp: server requires authentification, but no authentification is provided") return errors.New("smtp: server requires authentication, but no authentication is provided")
} }
if err = c.Auth(s.auth); err != nil { if err = c.Auth(s.auth); err != nil {