Mercurial > dovecot > original-hg > dovecot-1.2
changeset 2759:19b9266f720e HEAD
If login fails with internal failure, show it to client as -ERR [IN-USE]
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 17 Oct 2004 18:15:27 +0300 |
parents | 34aeee65368d |
children | 9ad220ac86c3 |
files | src/pop3-login/client-authenticate.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/pop3-login/client-authenticate.c Sun Oct 17 17:35:01 2004 +0300 +++ b/src/pop3-login/client-authenticate.c Sun Oct 17 18:15:27 2004 +0300 @@ -106,6 +106,9 @@ client_input, client); break; case SASL_SERVER_REPLY_MASTER_FAILED: + client_send_line(client, + "-ERR [IN-USE] Internal login failure. " + "Refer to server log for more information."); client_destroy(client, t_strconcat("Internal login failure: ", client->common.virtual_user, NULL));