summaryrefslogtreecommitdiff
path: root/lib/imap.c
diff options
context:
space:
mode:
authorPatrick Monnerat <pm@datasphere.ch>2015-01-27 17:34:40 +0100
committerPatrick Monnerat <pm@datasphere.ch>2015-01-27 17:34:40 +0100
commitfe79f20957a1e66cd5566236e9e7b873888b0ce0 (patch)
tree731b1e932e8e458b20e280b096a3a064f925f66e /lib/imap.c
parent0d24f644735924524bcffff75ace4bd7b7a2e05a (diff)
downloadcurl-fe79f20957a1e66cd5566236e9e7b873888b0ce0.tar.gz
imap: remove automatic password setting: it breaks external sasl authentication
Diffstat (limited to 'lib/imap.c')
-rw-r--r--lib/imap.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/imap.c b/lib/imap.c
index 2d037eeb3..661bfc074 100644
--- a/lib/imap.c
+++ b/lib/imap.c
@@ -133,7 +133,7 @@ const struct Curl_handler Curl_handler_imap = {
ZERO_NULL, /* readwrite */
PORT_IMAP, /* defport */
CURLPROTO_IMAP, /* protocol */
- PROTOPT_CLOSEACTION | PROTOPT_NEEDSPWD /* flags */
+ PROTOPT_CLOSEACTION /* flags */
};
#ifdef USE_SSL
@@ -158,8 +158,7 @@ const struct Curl_handler Curl_handler_imaps = {
ZERO_NULL, /* readwrite */
PORT_IMAPS, /* defport */
CURLPROTO_IMAPS, /* protocol */
- PROTOPT_CLOSEACTION | PROTOPT_SSL |
- PROTOPT_NEEDSPWD /* flags */
+ PROTOPT_CLOSEACTION | PROTOPT_SSL /* flags */
};
#endif