]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
auth: Fixed auth_debug_password -> auth_debug -> auth_Verbose cascading.
authorTimo Sirainen <tss@iki.fi>
Thu, 4 Jun 2009 21:12:10 +0000 (17:12 -0400)
committerTimo Sirainen <tss@iki.fi>
Thu, 4 Jun 2009 21:12:10 +0000 (17:12 -0400)
--HG--
branch : HEAD

src/auth/auth-settings.c

index af198b27eca953dc1706d8f7b6efa3b6033491bc..e5ca2e56e7f58a17ae9c32fa586d1ab03dbbda66 100644 (file)
@@ -181,6 +181,11 @@ static bool auth_settings_check(void *_set, pool_t pool ATTR_UNUSED,
 {
        struct auth_settings *set = _set;
 
+       if (set->debug_passwords)
+               set->debug = TRUE;
+       if (set->debug)
+               set->verbose = TRUE;
+
        if (set->name == NULL) {
                *error_r = "auth section is missing name";
                return FALSE;