]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
Don't warn about maybe not being able to log in if protocols=none.
authorTimo Sirainen <tss@iki.fi>
Tue, 20 Jan 2009 22:36:50 +0000 (17:36 -0500)
committerTimo Sirainen <tss@iki.fi>
Tue, 20 Jan 2009 22:36:50 +0000 (17:36 -0500)
--HG--
branch : HEAD

src/master/master-settings.c

index 5cf9d51c069d8487dfa8816bd726317cdd4a7caf..010c2235d1c88eeedb6f9692512f65bc35a055fc 100644 (file)
@@ -865,6 +865,7 @@ static bool settings_verify(struct settings *set)
 #endif
        if (strcmp(set->ssl, "no") == 0 && set->disable_plaintext_auth &&
            strncmp(set->listen, "127.", 4) != 0 &&
+           strcmp(set->protocols, "none") != 0 &&
            !settings_have_nonplaintext_auths(set)) {
                i_warning("There is no way to login to this server: "
                          "disable_plaintext_auth=yes, ssl=no, "