Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/EionRobb/pidgin-opensteamworks.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoresainane <esainane+github@gmail.com>2015-11-15 05:41:05 +0300
committeresainane <esainane+github@gmail.com>2015-11-15 05:41:05 +0300
commit1aa3f64a84ec0ef52622d0e35b63eea8ee3e1870 (patch)
tree97ffe1700651ba8af10911be12f2de4a5adc3b03
parent2b9699f9c868238c099120964748f091a9891378 (diff)
Do not raise an error during email auth
This is consistent with the approach taken for mobile two factor authentication. If an error is raised during login, some libpurple dependees, such as bitlbee, will cancel the login process. This made using pidgin-opensteamworks with bitlbee running in libpurple mode impossible for accounts that relied on email authentication. With mobile 2 factor authentication: <SaiN> account 1 off <root> steam-mobile - Signing off.. <SaiN> account 1 on <root> steam-mobile - Logging in: Connecting <purple_request_0> Copy the two-factor auth code you have received <SaiN> hunter2 * purple_request_0 is away: "Offline" <root> steam-mobile - Logging in: Logged in With email: <SaiN> account 1 off <root> steam-mobile - Signing off.. <SaiN> account 1 on <root> steam-mobile - Logging in: Connecting <purple_request_0> Copy the Steam Guard Code you will have received in your email <root> steam-mobile - Login error: <root> steam-mobile - Logging in: Signing off.. <SaiN> hunter2 * purple_request_0: No such nick/channel <SaiN> account 1 off <root> Account already offline
-rw-r--r--steam-mobile/libsteam.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/steam-mobile/libsteam.c b/steam-mobile/libsteam.c
index 8ac448f..1dc7c06 100644
--- a/steam-mobile/libsteam.c
+++ b/steam-mobile/libsteam.c
@@ -1220,7 +1220,6 @@ steam_login_cb(SteamAccount *sa, JsonObject *obj, gpointer user_data)
FALSE, FALSE, "Steam Guard Code", _("OK"),
G_CALLBACK(steam_set_steam_guard_token_cb), _("Cancel"),
NULL, sa->account, NULL, NULL, sa->account);
- purple_connection_error(sa->pc, PURPLE_CONNECTION_ERROR_AUTHENTICATION_FAILED, error_description);
}
} else if (json_object_get_boolean_member(obj, "captcha_needed"))
{