- merge in latest mutt changes
git-svn-id: svn://svn.berlios.de/mutt-ng/trunk@365
e385b8ad-14ed-0310-8656-
cc95a2468c6d
+2005-07-28 19:47:40 Brendan Cully <brendan@kublai.com> (brendan)
+
+ * imap/auth_cram.c, imap/auth_login.c: Use mutt_account_getlogin
+ instead of getuser for authentication methods that only support an
+ authentication ID. As a side-effect, don't display a dangling
+ authentication name pointer in getpass.
+
2005-07-27 15:08:43 Vincent Lefevre <vincent@vinc17.org> (brendan)
* crypt-gpgme.c: Correct two typos in GPGME error messages.
mutt_message _("Authenticating (CRAM-MD5)...");
/* get auth info */
- if (mutt_account_getuser (&idata->conn->account))
+ if (mutt_account_getlogin (&idata->conn->account))
return IMAP_AUTH_FAILURE;
if (mutt_account_getpass (&idata->conn->account))
return IMAP_AUTH_FAILURE;
return IMAP_AUTH_UNAVAIL;
}
- if (mutt_account_getuser (&idata->conn->account))
+ if (mutt_account_getlogin (&idata->conn->account))
return IMAP_AUTH_FAILURE;
if (mutt_account_getpass (&idata->conn->account))
return IMAP_AUTH_FAILURE;