From: Brendan Cully Date: Sun, 28 Jun 2009 23:00:35 +0000 (-0700) Subject: IMAP LOGIN does not support separate user and login accounts. X-Git-Tag: mutt-1-5-21-rel~192 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7cbc2cd86d3564e457ccc21fd94e44de0c900149;p=mutt IMAP LOGIN does not support separate user and login accounts. Use the user account for both. Closes #3240. --- diff --git a/imap/auth_login.c b/imap/auth_login.c index 3bd5d5fc..63e47520 100644 --- a/imap/auth_login.c +++ b/imap/auth_login.c @@ -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;