From 9ee786e3e6061d40aa3cd3349d083632f12cd353 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Wilfried=20G=C3=B6esgens?= Date: Thu, 26 Aug 2010 17:39:40 +0000 Subject: [PATCH] * if we fail to log in because of user/passvoid wrong, reply with NO instead of BAD --- citadel/modules/imap/serv_imap.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/citadel/modules/imap/serv_imap.c b/citadel/modules/imap/serv_imap.c index baee87c1a..27c0da4cc 100644 --- a/citadel/modules/imap/serv_imap.c +++ b/citadel/modules/imap/serv_imap.c @@ -556,6 +556,11 @@ void imap_login(int num_parms, ConstStr *Params) cprintf("] Hello, %s\r\n", CC->user.fullname); return; } + else + { + cprintf("%s NO AUTHENTICATE %s failed\r\n", + Params[0].Key, Params[3].Key); + } } cprintf("%s BAD Login incorrect\r\n", Params[0].Key); -- 2.30.2