Skip to content

Commit

Permalink
auth: Set correct context type when bypassing reporting in auth_success
Browse files Browse the repository at this point in the history
Broken in 41ff6e6
  • Loading branch information
cmouse authored and sirainen committed Feb 15, 2018
1 parent e504fd5 commit 79b5d58
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/auth/auth-request.c
Expand Up @@ -163,7 +163,8 @@ void auth_request_success(struct auth_request *request,
buffer_create_from_const_data(&buf, "", 0);
struct auth_policy_check_ctx ctx = {
.success_data = &buf,
.request = request
.request = request,
.type = AUTH_POLICY_CHECK_TYPE_SUCCESS,
};
auth_request_policy_check_callback(0, &ctx);
return;
Expand Down

0 comments on commit 79b5d58

Please sign in to comment.