pidgin: 90bcee91: Clear the saved password on an authentic...
rekkanoryo at pidgin.im
rekkanoryo at pidgin.im
Tue Mar 3 01:25:28 EST 2009
-----------------------------------------------------------------
Revision: 90bcee91e80ba055eb211168b099418753e096e9
Ancestor: 8df583857ebce658193ea9fc79d705e7bcc23560
Author: rekkanoryo at pidgin.im
Date: 2009-03-03T05:54:21
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/90bcee91e80ba055eb211168b099418753e096e9
Modified files:
ChangeLog pidgin/gtkconn.c
ChangeLog:
Clear the saved password on an authentication failure. The result of this is
that clicking "Re-enable" on the minidialog in the buddy list will request the
user to enter the password again. Fixes #183.
-------------- next part --------------
============================================================
--- ChangeLog bdc1c2ed3bfccdee3b5b72d65c262b5db41de0d1
+++ ChangeLog f619413cf0a240cfcafee85c099ea0dccc4ee997
@@ -18,6 +18,9 @@ version 2.6.0 (??/??/2009):
* Pressing the Enter key in the message entry box of the New Status
dialog and various other dialogs now causes the cursor to move to
the next line.
+ * Authentication failures now clear the account password, causing Pidgin
+ to prompt for the password when clicking the "Re-enable" button on the
+ minidialog.
version 2.5.5 (03/01/2009):
libpurple:
============================================================
--- pidgin/gtkconn.c 9c65425207fe72d7140bc9bb166988997c257d45
+++ pidgin/gtkconn.c 45fb8d7df0676e90d7fea7501835cdafa347af2d
@@ -163,6 +163,11 @@ pidgin_connection_report_disconnect_reas
g_hash_table_remove(auto_reconns, account);
purple_account_set_enabled(account, PIDGIN_UI, FALSE);
+
+ /* clear the saved password if this is an authentication failure */
+ if(reason == PURPLE_CONNECTION_ERROR_AUTHENTICATION_FAILED)
+ purple_account_set_password(account, NULL);
+
}
/* If we have any open chats, we probably want to rejoin when we get back online. */
More information about the Commits
mailing list