Skip to content

Commit

Permalink
auth: pass overriden auth_debug setting to auth process
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey-Kitov authored and sirainen committed May 30, 2018
1 parent 6b2ac67 commit 8fb8621
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/auth/auth-request.c
Expand Up @@ -415,9 +415,10 @@ bool auth_request_import_info(struct auth_request *request,
request->local_name = p_strdup(request->pool, value);
else if (strcmp(key, "session") == 0)
request->session_id = p_strdup(request->pool, value);
else if (strcmp(key, "debug") == 0)
else if (strcmp(key, "debug") == 0) {
request->debug = TRUE;
else if (strcmp(key, "client_id") == 0)
event_set_forced_debug(request->event, TRUE);
} else if (strcmp(key, "client_id") == 0)
request->client_id = p_strdup(request->pool, value);
else if (strcmp(key, "forward_fields") == 0) {
auth_fields_import_prefixed(request->extra_fields,
Expand Down

0 comments on commit 8fb8621

Please sign in to comment.