]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
imap: remove automatic password setting: it breaks external sasl authentication
authorPatrick Monnerat <pm@datasphere.ch>
Tue, 27 Jan 2015 16:34:40 +0000 (17:34 +0100)
committerPatrick Monnerat <pm@datasphere.ch>
Tue, 27 Jan 2015 16:34:40 +0000 (17:34 +0100)
lib/imap.c

index 2d037eeb3524d17a4234070336a231ea604af8a7..661bfc0740592d2a63fcd7079bea4691ff5a0e65 100644 (file)
@@ -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