]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
auth: Rename passdb_mechanisms_filter=none to lookup
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Wed, 18 Sep 2024 11:15:04 +0000 (14:15 +0300)
committerAki Tuomi <aki.tuomi@open-xchange.com>
Fri, 17 Jan 2025 08:40:00 +0000 (10:40 +0200)
src/auth/auth-request.c

index 45a0df1407858b91398e96e7716f6e80680192ef..33d64b368777c98e9453465d6223b0a0f556f38b 100644 (file)
@@ -560,9 +560,9 @@ auth_request_mechanism_accepted(const char *const *mechs,
 {
        /* no filter specified, anything goes */
        if (mechs == NULL) return TRUE;
-       /* request has no mechanism, see if none is accepted */
+       /* request has no mechanism, see if lookup is accepted */
        if (mech == NULL)
-               return str_array_icase_find(mechs, "none");
+               return str_array_icase_find(mechs, "lookup");
        /* check if request mechanism is accepted */
        return str_array_icase_find(mechs, mech->mech_name);
 }