echo the mailbox the password is for
This commit is contained in:
parent
4fba9c8b74
commit
228ba6b48b
|
@ -793,7 +793,10 @@ imap_connect (config_t * cfg)
|
||||||
*/
|
*/
|
||||||
if (!global.pass)
|
if (!global.pass)
|
||||||
{
|
{
|
||||||
global.pass = getpass ("Password:");
|
char prompt[80];
|
||||||
|
sprintf(prompt, "Password (mailbox %s@%s/%s):",
|
||||||
|
cfg->user, cfg->host, cfg->box);
|
||||||
|
global.pass = getpass (prompt);
|
||||||
if (!global.pass)
|
if (!global.pass)
|
||||||
{
|
{
|
||||||
perror ("getpass");
|
perror ("getpass");
|
||||||
|
|
Loading…
Reference in New Issue
Block a user