]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
*-login: If auth failed with a specified reason, the reason wasn't actually shown...
authorTimo Sirainen <tss@iki.fi>
Tue, 21 May 2013 19:57:06 +0000 (22:57 +0300)
committerTimo Sirainen <tss@iki.fi>
Tue, 21 May 2013 19:57:06 +0000 (22:57 +0300)
src/login-common/client-common-auth.c

index 356d1c4fb11f68acf2cb3f393caec1a639e120fb..485a7d3081c3c85a76aa74e4f3f476d9e6191e9b 100644 (file)
@@ -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)