# HG changeset patch # User Timo Sirainen # Date 1225029127 -7200 # Node ID 9387008235228d7ca948aec116b6009b9d786551 # Parent 221eb8e4d08ed1a53f6d295bc1426684530fbcfe Login prcesses: If auth_debug=yes, don't warn about "user" parameter being unknown. diff -r 221eb8e4d08e -r 938700823522 src/imap-login/client-authenticate.c --- a/src/imap-login/client-authenticate.c Sun Oct 26 15:39:10 2008 +0200 +++ b/src/imap-login/client-authenticate.c Sun Oct 26 15:52:07 2008 +0200 @@ -110,7 +110,9 @@ 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 -r 221eb8e4d08e -r 938700823522 src/pop3-login/client-authenticate.c --- a/src/pop3-login/client-authenticate.c Sun Oct 26 15:39:10 2008 +0200 +++ b/src/pop3-login/client-authenticate.c Sun Oct 26 15:52:07 2008 +0200 @@ -107,7 +107,9 @@ 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); }