Use passwords from the accounts file

This commit makes it so that if the password in an account in the
accounts file is present, then use it. Otherwise ask for the password to
the user.
This commit is contained in:
Tomás Senart
2013-10-14 20:15:51 +02:00
parent 3cc080b06a
commit 480589f0ae
6 changed files with 41 additions and 15 deletions

View File

@@ -793,6 +793,7 @@ cons_show_account(ProfAccount *account)
cons_show ("enabled : FALSE");
}
cons_show ("jid : %s", account->jid);
cons_show ("password : [redacted]");
if (account->resource != NULL) {
cons_show ("resource : %s", account->resource);
}