Mercurial > dovecot > core-2.2
changeset 19843:a9131cd280b2
*-login: Call client.auth_result() also when proxying
author | Timo Sirainen <timo.sirainen@dovecot.fi> |
---|---|
date | Wed, 24 Feb 2016 19:13:28 +0200 |
parents | 177bf7bb8673 |
children | ec3eef070b1f |
files | src/login-common/client-common-auth.c |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/login-common/client-common-auth.c Fri Feb 26 00:15:45 2016 +0200 +++ b/src/login-common/client-common-auth.c Wed Feb 24 19:13:28 2016 +0200 @@ -397,6 +397,12 @@ 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; }