From 28caac48700080d759c9538aa552f8f499f511c0 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 18 Dec 2024 20:16:24 +0300 Subject: even more logs --- protocols/Steam/src/steam_login.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'protocols/Steam/src/steam_login.cpp') diff --git a/protocols/Steam/src/steam_login.cpp b/protocols/Steam/src/steam_login.cpp index 9b57ec0c4e..0cd18e10cc 100644 --- a/protocols/Steam/src/steam_login.cpp +++ b/protocols/Steam/src/steam_login.cpp @@ -196,11 +196,10 @@ void CSteamProto::SendConfirmationCode(bool isEmail, const char *pszCode) void CSteamProto::OnGotConfirmationCode(const CAuthenticationUpdateAuthSessionWithSteamGuardCodeResponse &, const CMsgProtoBufHeader &hdr) { - if (hdr.failed()) { - debugLogA("2fa code failed with error code %d", hdr.eresult); + if (hdr.failed()) Logout(); - } - else SendPollRequest(); + else + SendPollRequest(); } ///////////////////////////////////////////////////////////////////////////////////////// -- cgit v1.2.3