Skip to content

Commit

Permalink
auth: Apply override_fields to userdb also when continuing to the nex…
Browse files Browse the repository at this point in the history
…t userdb.
  • Loading branch information
sirainen committed Jan 23, 2016
1 parent cc4723a commit b23317e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/auth/auth-request.c
Expand Up @@ -1094,6 +1094,7 @@ void auth_request_userdb_callback(enum userdb_result result,
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
Expand Down

0 comments on commit b23317e

Please sign in to comment.