imap: remove automatic password setting: it breaks external sasl authentication

This commit is contained in:
Patrick Monnerat 2015-01-27 17:34:40 +01:00
parent 0d24f64473
commit fe79f20957

View File

@ -133,7 +133,7 @@ const struct Curl_handler Curl_handler_imap = {
ZERO_NULL, /* readwrite */ ZERO_NULL, /* readwrite */
PORT_IMAP, /* defport */ PORT_IMAP, /* defport */
CURLPROTO_IMAP, /* protocol */ CURLPROTO_IMAP, /* protocol */
PROTOPT_CLOSEACTION | PROTOPT_NEEDSPWD /* flags */ PROTOPT_CLOSEACTION /* flags */
}; };
#ifdef USE_SSL #ifdef USE_SSL
@ -158,8 +158,7 @@ const struct Curl_handler Curl_handler_imaps = {
ZERO_NULL, /* readwrite */ ZERO_NULL, /* readwrite */
PORT_IMAPS, /* defport */ PORT_IMAPS, /* defport */
CURLPROTO_IMAPS, /* protocol */ CURLPROTO_IMAPS, /* protocol */
PROTOPT_CLOSEACTION | PROTOPT_SSL | PROTOPT_CLOSEACTION | PROTOPT_SSL /* flags */
PROTOPT_NEEDSPWD /* flags */
}; };
#endif #endif