pidgin: 93d3d07e: oscar: Forget un-remembered passwords on...
darkrain42 at pidgin.im
darkrain42 at pidgin.im
Tue Apr 13 00:41:46 EDT 2010
-----------------------------------------------------------------
Revision: 93d3d07e2777f5e2f9439ba46515e4b63a108a0f
Ancestor: b3991795b8e447eb9442d3dc68965c3ed71f6455
Author: darkrain42 at pidgin.im
Date: 2010-04-13T04:30:08
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/93d3d07e2777f5e2f9439ba46515e4b63a108a0f
Modified files:
libpurple/protocols/oscar/clientlogin.c
ChangeLog:
oscar: Forget un-remembered passwords on Incorrect Password w/ clientLogin.
This brings it in line with the BUCP logic (and other prpls).
Fixes #11671, I assume.
-------------- next part --------------
============================================================
--- libpurple/protocols/oscar/clientlogin.c 8fcbcf7cad3334f38a258c906e0d38b48a0a2c55
+++ libpurple/protocols/oscar/clientlogin.c 582b716f959a2688537c5d581bf74971c8962a10
@@ -428,6 +428,9 @@ static gboolean parse_client_login_respo
"was %d (%d): %s\n", status_code, status_detail_code, response);
if (status_code == 330 && status_detail_code == 3011) {
+ PurpleAccount *account = purple_connection_get_account(gc);
+ if (!purple_account_get_remember_password(account))
+ purple_account_set_password(account, NULL);
purple_connection_error_reason(gc,
PURPLE_CONNECTION_ERROR_AUTHENTICATION_FAILED,
_("Incorrect password"));
More information about the Commits
mailing list