]> git.llucax.com Git - software/mutt-debian.git/blobdiff - imap/auth_login.c
Move Mutt with NNTP support to mutt-nntp package
[software/mutt-debian.git] / 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;