mirror of
https://github.com/moparisthebest/davmail
synced 2024-11-11 20:05:03 -05:00
IMAP: hide login password in log file
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@372 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
a76513ec59
commit
cfc4788774
@ -114,7 +114,8 @@ public class AbstractConnection extends Thread {
|
|||||||
if (line.startsWith("PASS")) {
|
if (line.startsWith("PASS")) {
|
||||||
DavGatewayTray.debug("< PASS ********");
|
DavGatewayTray.debug("< PASS ********");
|
||||||
// IMAP LOGIN
|
// IMAP LOGIN
|
||||||
} else if (line.startsWith("LOGIN")) {
|
} else if (state == State.INITIAL && line.indexOf(' ')>=0 &&
|
||||||
|
line.substring(line.indexOf(' ')+1).startsWith("LOGIN")) {
|
||||||
DavGatewayTray.debug("< LOGIN ********");
|
DavGatewayTray.debug("< LOGIN ********");
|
||||||
} else if (state == State.PASSWORD) {
|
} else if (state == State.PASSWORD) {
|
||||||
DavGatewayTray.debug("< ********");
|
DavGatewayTray.debug("< ********");
|
||||||
|
Loading…
Reference in New Issue
Block a user