From: Timo Sirainen Date: Tue, 21 May 2013 19:57:06 +0000 (+0300) Subject: *-login: If auth failed with a specified reason, the reason wasn't actually shown... X-Git-Tag: 2.2.3~137 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63e376747537cb2dfaa0e36d1bafd19df1443a4e;p=thirdparty%2Fdovecot%2Fcore.git *-login: If auth failed with a specified reason, the reason wasn't actually shown to client. --- diff --git a/src/login-common/client-common-auth.c b/src/login-common/client-common-auth.c index 356d1c4fb1..485a7d3081 100644 --- a/src/login-common/client-common-auth.c +++ b/src/login-common/client-common-auth.c @@ -538,7 +538,7 @@ sasl_callback(struct client *client, enum sasl_server_reply sasl_reply, } else { client_auth_result(client, CLIENT_AUTH_RESULT_AUTHFAILED_REASON, NULL, - AUTH_FAILED_MSG); + data); } if (!client->destroyed)