Skip to content

Commit

Permalink
imap: remove automatic password setting: it breaks external sasl auth…
Browse files Browse the repository at this point in the history
…entication
  • Loading branch information
Patrick Monnerat committed Jan 27, 2015
1 parent 0d24f64 commit fe79f20
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/imap.c
Expand Up @@ -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
Expand All @@ -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

Expand Down

0 comments on commit fe79f20

Please sign in to comment.