From 42fcc708268a89aa9640693e71d13a2bb76e19c8 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Wed, 24 Feb 2016 19:13:28 +0200 Subject: [PATCH] *-login: Call client.auth_result() also when proxying --- src/login-common/client-common-auth.c | 6 ++++++ 1 file changed, 6 insertions(+) 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; } -- 2.47.3