forked from Silverfish/proton-bridge
fix(GODT-2623): log IMAP/SMTP login failure as error.
This commit is contained in:
committed by
Romain Le Jeune
parent
a3e07428b5
commit
6adb440b84
@ -79,7 +79,8 @@ func (bridge *Bridge) handleIMAPEvent(event imapEvents.Event) {
|
||||
logrus.WithFields(logrus.Fields{
|
||||
"sessionID": event.SessionID,
|
||||
"username": event.Username,
|
||||
}).Info("Received IMAP login failure notification")
|
||||
"pkg": "imap",
|
||||
}).Error("Incorrect login credentials.")
|
||||
bridge.publish(events.IMAPLoginFailed{Username: event.Username})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user