1
0
mirror of https://github.com/moparisthebest/davmail synced 2024-12-13 03:02:22 -05:00

Fix missing hide password in log over IMAP

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1380 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2010-08-24 21:10:50 +00:00
parent 1460328ea9
commit 4d02621332

View File

@ -226,7 +226,7 @@ public class AbstractConnection extends Thread {
DavGatewayTray.debug(new BundleMessage("LOG_READ_CLIENT_AUTH_LOGIN"));
// IMAP LOGIN
} else if (state == State.INITIAL && line.indexOf(' ') >= 0 &&
line.substring(line.indexOf(' ') + 1).startsWith("LOGIN")) {
line.substring(line.indexOf(' ') + 1).toUpperCase().startsWith("LOGIN")) {
DavGatewayTray.debug(new BundleMessage("LOG_READ_CLIENT_LOGIN"));
} else if (state == State.PASSWORD) {
DavGatewayTray.debug(new BundleMessage("LOG_READ_CLIENT_PASSWORD"));