Mercurial > pidgin.yaz
changeset 14902:d71a0d29ff7e
[gaim-migrate @ 17674]
Only clear out the password when the server tells us it is incorrect if
the user is not saving passwords for this account
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 05 Nov 2006 23:22:41 +0000 |
parents | d9d28bd79715 |
children | 6334d1b51252 |
files | libgaim/protocols/oscar/oscar.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libgaim/protocols/oscar/oscar.c Sun Nov 05 17:37:09 2006 +0000 +++ b/libgaim/protocols/oscar/oscar.c Sun Nov 05 23:22:41 2006 +0000 @@ -1284,7 +1284,8 @@ case 0x05: /* Incorrect password */ gc->wants_to_die = TRUE; - gaim_account_set_password(account, NULL); + if (!gaim_account_get_remember_password(account)) + gaim_account_set_password(account, NULL); gaim_connection_error(gc, _("Incorrect password.")); break; case 0x11: