From 7dacd72d5ac2d237e31714f1e9993d3a8130a8a4 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 18 Dec 2024 20:12:17 +0300 Subject: more logs --- protocols/Steam/src/steam_login.cpp | 9 +++++---- 1 file changed, 5 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 8749e6ca09..9b57ec0c4e 100644 --- a/protocols/Steam/src/steam_login.cpp +++ b/protocols/Steam/src/steam_login.cpp @@ -194,12 +194,13 @@ void CSteamProto::SendConfirmationCode(bool isEmail, const char *pszCode) WSSendService(UpdateAuthSessionWithSteamGuardCode, request, true); } -void CSteamProto::OnGotConfirmationCode(const CAuthenticationUpdateAuthSessionWithSteamGuardCodeResponse&, const CMsgProtoBufHeader &hdr) +void CSteamProto::OnGotConfirmationCode(const CAuthenticationUpdateAuthSessionWithSteamGuardCodeResponse &, const CMsgProtoBufHeader &hdr) { - if (hdr.failed()) + if (hdr.failed()) { + debugLogA("2fa code failed with error code %d", hdr.eresult); Logout(); - else - SendPollRequest(); + } + else SendPollRequest(); } ///////////////////////////////////////////////////////////////////////////////////////// -- cgit v1.2.3