dovecot-2.0: auth: Fixed auth_debug_password -> auth_debug -> au...

dovecot at dovecot.org dovecot at dovecot.org
Fri Jun 5 00:12:24 EEST 2009


details:   http://hg.dovecot.org/dovecot-2.0/rev/d86490ef27bd
changeset: 9451:d86490ef27bd
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Jun 04 17:12:10 2009 -0400
description:
auth: Fixed auth_debug_password -> auth_debug -> auth_Verbose cascading.

diffstat:

1 file changed, 5 insertions(+)
src/auth/auth-settings.c |    5 +++++

diffs (15 lines):

diff -r 227a64839587 -r d86490ef27bd src/auth/auth-settings.c
--- a/src/auth/auth-settings.c	Thu Jun 04 16:27:24 2009 -0400
+++ b/src/auth/auth-settings.c	Thu Jun 04 17:12:10 2009 -0400
@@ -181,6 +181,11 @@ static bool auth_settings_check(void *_s
 {
 	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;


More information about the dovecot-cvs mailing list