From: Aki Tuomi Date: Mon, 12 Feb 2018 10:28:37 +0000 (+0200) Subject: auth: Set correct context type when bypassing reporting in auth_success X-Git-Tag: 2.2.35~64 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=79b5d589b0ceb08bd18961bc1803a0923400884b;p=thirdparty%2Fdovecot%2Fcore.git auth: Set correct context type when bypassing reporting in auth_success Broken in 41ff6e6a4a085786d4c15a58c7c50a28e2110c3f --- diff --git a/src/auth/auth-request.c b/src/auth/auth-request.c index 68dc4782dd..dd288b6d23 100644 --- a/src/auth/auth-request.c +++ b/src/auth/auth-request.c @@ -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;