]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
Login prcesses: If auth_debug=yes, don't warn about "user" parameter being unknown.
authorTimo Sirainen <tss@iki.fi>
Sun, 26 Oct 2008 13:52:07 +0000 (15:52 +0200)
committerTimo Sirainen <tss@iki.fi>
Sun, 26 Oct 2008 13:52:07 +0000 (15:52 +0200)
--HG--
branch : HEAD

src/imap-login/client-authenticate.c
src/pop3-login/client-authenticate.c

index 8ea1539eb026c53892452be0535b62a68a603afe..1b58d05a648787fafb48e5b41f1fcf3e8072c2a0 100644 (file)
@@ -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);
                }
index 220300e558e6329bdbcb2341f1b2f79fd67176f0..f08f4aa73b91a82b467629de503f14d7f78c0db8 100644 (file)
@@ -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);
                }