diff options
author | George Hazan <george.hazan@gmail.com> | 2025-04-07 13:35:00 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2025-04-07 13:35:00 +0300 |
commit | 0ee479000a9675e387ba85a401c708359d43912c (patch) | |
tree | 76b040d12d3fb9a23ec18187cd85f98752f9a147 | |
parent | fee3fee5d2cda4766964b4c3a61a8b1d2ff5e128 (diff) |
fixes #4962 (Steam: невозможно подключиться в текущей сессии, если отказаться от ввода кода)
-rw-r--r-- | protocols/Steam/src/steam_login.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Steam/src/steam_login.cpp b/protocols/Steam/src/steam_login.cpp index 1235130542..669d164351 100644 --- a/protocols/Steam/src/steam_login.cpp +++ b/protocols/Steam/src/steam_login.cpp @@ -159,7 +159,7 @@ INT_PTR CALLBACK CSteamProto::EnterEmailCode(void *param) ppro->SendConfirmationCode(true, T2Utf(es.ptszResult)); mir_free(es.ptszResult); } - else ppro->Logout(); + else ppro->m_ws->terminate(); return 0; } @@ -174,7 +174,7 @@ INT_PTR CALLBACK CSteamProto::EnterTotpCode(void *param) ppro->SendConfirmationCode(false, T2Utf(es.ptszResult)); mir_free(es.ptszResult); } - else ppro->Logout(); + else ppro->m_ws->terminate(); return 0; } |