mirror of
https://github.com/moparisthebest/davmail
synced 2025-01-07 03:38:05 -05:00
IMAP send error on authentication failed
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@2075 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
c81fab0f50
commit
df954df0f3
@ -115,6 +115,10 @@ public class ImapConnection extends AbstractConnection {
|
||||
state = State.AUTHENTICATED;
|
||||
} catch (Exception e) {
|
||||
DavGatewayTray.error(e);
|
||||
if (Settings.getBooleanProperty("davmail.enableKerberos")) {
|
||||
// Kerberos authentication failed
|
||||
throw e;
|
||||
}
|
||||
sendClient(commandId + " NO LOGIN failed");
|
||||
state = State.INITIAL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user