]> granicus.if.org Git - mutt/commitdiff
IMAP LOGIN does not support separate user and login accounts.
authorBrendan Cully <brendan@kublai.com>
Sun, 28 Jun 2009 23:00:35 +0000 (16:00 -0700)
committerBrendan Cully <brendan@kublai.com>
Sun, 28 Jun 2009 23:00:35 +0000 (16:00 -0700)
Use the user account for both. Closes #3240.

imap/auth_login.c

index 3bd5d5fc91dbe718d0a2419c6e4af5b3ba9eb682..63e475202e210d323ae9dc154fd30ea2d4cd25ec 100644 (file)
@@ -39,7 +39,7 @@ imap_auth_res_t imap_auth_login (IMAP_DATA* idata, const char* method)
     return IMAP_AUTH_UNAVAIL;
   }
 
-  if (mutt_account_getlogin (&idata->conn->account))
+  if (mutt_account_getuser (&idata->conn->account))
     return IMAP_AUTH_FAILURE;
   if (mutt_account_getpass (&idata->conn->account))
     return IMAP_AUTH_FAILURE;