Changeset 4114:0752255e83ae for account.c
Legend:
- Unmodified
- Added
- Removed
-
account.c
r4014 r4114 172 172 { 173 173 if (ImapLogin) 174 { 174 175 strfcpy (account->login, ImapLogin, sizeof (account->login)); 175 else { 176 mutt_account_getuser (account); 177 strfcpy (account->login, account->user, sizeof (account->login)); 176 account->flags |= M_ACCT_LOGIN; 178 177 } 179 178 } 180 179 #endif 180 181 if (! account->flags & M_ACCT_LOGIN) 182 { 183 mutt_account_getuser (account); 184 strfcpy (account->login, account->user, sizeof (account->login)); 185 } 181 186 182 187 account->flags |= M_ACCT_LOGIN; … … 203 208 { 204 209 snprintf (prompt, sizeof (prompt), _("Password for %s@%s: "), 205 account->login, account->host); 210 account->flags & M_ACCT_LOGIN ? account->login : account->user, 211 account->host); 206 212 account->pass[0] = '\0'; 207 213 if (mutt_get_password (prompt, account->pass, sizeof (account->pass)))
