projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0492a04
)
* if we fail to log in because of user/passvoid wrong, reply with NO instead of BAD
author
Wilfried Göesgens
<willi@citadel.org>
Thu, 26 Aug 2010 17:39:40 +0000
(17:39 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Thu, 26 Aug 2010 17:39:40 +0000
(17:39 +0000)
citadel/modules/imap/serv_imap.c
patch
|
blob
|
history
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;
}
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);
}
cprintf("%s BAD Login incorrect\r\n", Params[0].Key);