projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* if we fail to log in because of user/passvoid wrong, reply with NO instead of BAD
[citadel.git]
/
citadel
/
modules
/
imap
/
serv_imap.c
diff --git
a/citadel/modules/imap/serv_imap.c
b/citadel/modules/imap/serv_imap.c
index baee87c1abc0fe933815a6123685e2ab24c5d6b0..27c0da4ccbb424f7082b728972d2310d344d7400 100644
(file)
--- 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);