dovecot-2.2: auth: If passdb wasn't used, don't preserve its ext...

dovecot at dovecot.org dovecot at dovecot.org
Thu Apr 4 19:45:38 EEST 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/05d2b6003495
changeset: 16165:05d2b6003495
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Apr 04 19:45:28 2013 +0300
description:
auth: If passdb wasn't used, don't preserve its extra fields in auth request.

diffstat:

 src/auth/auth-request.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 6821794943a5 -r 05d2b6003495 src/auth/auth-request.c
--- a/src/auth/auth-request.c	Thu Apr 04 19:18:22 2013 +0300
+++ b/src/auth/auth-request.c	Thu Apr 04 19:45:28 2013 +0300
@@ -607,7 +607,7 @@
 		} else {
 			/* this passdb lookup failed, remove any extra fields
 			   it set */
-			auth_fields_snapshot(request->extra_fields);
+			auth_fields_rollback(request->extra_fields);
 		}
 
 		if (*result == PASSDB_RESULT_USER_UNKNOWN) {


More information about the dovecot-cvs mailing list