From: Timo Sirainen Date: Wed, 24 Feb 2016 17:13:28 +0000 (+0200) Subject: *-login: Call client.auth_result() also when proxying X-Git-Tag: 2.2.22.rc1~77 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=42fcc708268a89aa9640693e71d13a2bb76e19c8;p=thirdparty%2Fdovecot%2Fcore.git *-login: Call client.auth_result() also when proxying --- diff --git a/src/login-common/client-common-auth.c b/src/login-common/client-common-auth.c index 6baca4f954..f05f7a1839 100644 --- a/src/login-common/client-common-auth.c +++ b/src/login-common/client-common-auth.c @@ -397,6 +397,12 @@ client_auth_handle_reply(struct client *client, return FALSE; if (proxy_start(client, reply) < 0) client_auth_failed(client); + else { + /* this for plugins being able th hook into auth reply + when proxying is used */ + client_auth_result(client, CLIENT_AUTH_RESULT_SUCCESS, + reply, NULL); + } return TRUE; }