Fri, 03 Jul 2009 11:26:41 +0000
During login, if password incorrect, set it to NULL. Avoids account locking. Brings dialog to enter password if clicked on Re-enable account
| libpurple/protocols/yahoo/yahoo.c | file | annotate | diff | comparison | revisions |
--- a/libpurple/protocols/yahoo/yahoo.c Fri Jul 03 11:13:35 2009 +0000 +++ b/libpurple/protocols/yahoo/yahoo.c Fri Jul 03 11:26:41 2009 +0000 @@ -1791,6 +1791,8 @@ break; case 1212: /* Password incorrect */ + /* Set password to NULL. Avoids account locking. Brings dialog to enter password if clicked on Re-enable account */ + purple_account_set_password(purple_connection_get_account(gc), NULL); error_reason = g_strdup(_("Incorrect Password")); error = PURPLE_CONNECTION_ERROR_AUTHENTICATION_FAILED; break;