Imap: change kerberos login error message
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@2076 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
df954df0f3
commit
67d665ff5f
|
@ -115,11 +115,11 @@ public class ImapConnection extends AbstractConnection {
|
||||||
state = State.AUTHENTICATED;
|
state = State.AUTHENTICATED;
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
DavGatewayTray.error(e);
|
DavGatewayTray.error(e);
|
||||||
if (Settings.getBooleanProperty("davmail.enableKerberos")) {
|
if (Settings.getBooleanProperty("davmail.enableKerberos")) {
|
||||||
// Kerberos authentication failed
|
sendClient(commandId + " NO LOGIN Kerberos authentication failed");
|
||||||
throw e;
|
} else {
|
||||||
}
|
sendClient(commandId + " NO LOGIN failed");
|
||||||
sendClient(commandId + " NO LOGIN failed");
|
}
|
||||||
state = State.INITIAL;
|
state = State.INITIAL;
|
||||||
}
|
}
|
||||||
} else if ("AUTHENTICATE".equalsIgnoreCase(command)) {
|
} else if ("AUTHENTICATE".equalsIgnoreCase(command)) {
|
||||||
|
|
Loading…
Reference in New Issue