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:
parent
ed6e51b4df
commit
965d8e22b3
@ -51,7 +51,7 @@ func (s *SMTPSendingService) Send(mail *models.Mail) error {
|
||||
}
|
||||
|
||||
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 {
|
||||
|
Loading…
Reference in New Issue
Block a user