Mercurial > dovecot > core-2.2
changeset 19613:fee417f10682
auth: Apply override_fields to userdb also when continuing to the next userdb.
author | Timo Sirainen <timo.sirainen@dovecot.fi> |
---|---|
date | Sat, 23 Jan 2016 15:48:14 +0200 |
parents | 1c229d06ba6e |
children | 87d9089d2c76 |
files | src/auth/auth-request.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/auth/auth-request.c Sat Jan 23 15:12:37 2016 +0200 +++ b/src/auth/auth-request.c Sat Jan 23 15:48:14 2016 +0200 @@ -1094,6 +1094,7 @@ if (result == USERDB_RESULT_OK) { /* this userdb lookup succeeded, preserve its extra fields */ + userdb_template_export(userdb->override_fields_tmpl, request); auth_fields_snapshot(request->userdb_reply); } else { /* this userdb lookup failed, remove any extra fields