pidgin: 1d57dde9: During login, if password incorrect, set...

sulabh at soc.pidgin.im sulabh at soc.pidgin.im
Fri Jul 3 07:31:39 EDT 2009


-----------------------------------------------------------------
Revision: 1d57dde9d15fd79af85e8a28d21680c4a1b6be2b
Ancestor: 89e296ce85f6724fd51ae1efdc5883941cdf90ca
Author: sulabh at soc.pidgin.im
Date: 2009-07-03T11:26:41
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/1d57dde9d15fd79af85e8a28d21680c4a1b6be2b

Modified files:
        libpurple/protocols/yahoo/yahoo.c

ChangeLog: 

During login, if password incorrect, set it to NULL. Avoids account locking. Brings dialog to enter password if clicked on Re-enable account

-------------- next part --------------
============================================================
--- libpurple/protocols/yahoo/yahoo.c	2e59b1d57b87fc9881c92e9678aa978a013f5ca2
+++ libpurple/protocols/yahoo/yahoo.c	601388d98bb68f64ef08e3e4886829206a703f5a
@@ -1791,6 +1791,8 @@ static void yahoo_auth16_stage1_cb(Purpl
 					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;


More information about the Commits mailing list