From: Timo Sirainen Date: Sun, 26 Oct 2008 13:52:07 +0000 (+0200) Subject: Login prcesses: If auth_debug=yes, don't warn about "user" parameter being unknown. X-Git-Tag: 1.2.alpha4~145 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c0f37aed3f5cb883d1ac8a20a111724c4a69faa4;p=thirdparty%2Fdovecot%2Fcore.git Login prcesses: If auth_debug=yes, don't warn about "user" parameter being unknown. --HG-- branch : HEAD --- diff --git a/src/imap-login/client-authenticate.c b/src/imap-login/client-authenticate.c index 8ea1539eb0..1b58d05a64 100644 --- a/src/imap-login/client-authenticate.c +++ b/src/imap-login/client-authenticate.c @@ -110,7 +110,9 @@ static bool client_handle_args(struct imap_client *client, destuser = *args + 9; else if (strncmp(*args, "pass=", 5) == 0) pass = *args + 5; - else if (auth_debug) { + else if (strncmp(*args, "user=", 5) == 0) { + /* already handled in login-common */ + } else if (auth_debug) { i_info("Ignoring unknown passdb extra field: %s", *args); } diff --git a/src/pop3-login/client-authenticate.c b/src/pop3-login/client-authenticate.c index 220300e558..f08f4aa73b 100644 --- a/src/pop3-login/client-authenticate.c +++ b/src/pop3-login/client-authenticate.c @@ -107,7 +107,9 @@ static bool client_handle_args(struct pop3_client *client, destuser = *args + 9; else if (strncmp(*args, "pass=", 5) == 0) pass = *args + 5; - else if (auth_debug) { + else if (strncmp(*args, "user=", 5) == 0) { + /* already handled in login-common */ + } else if (auth_debug) { i_info("Ignoring unknown passdb extra field: %s", *args); }