Remove restricted region

This commit is contained in:
SaltySnail
2026-06-25 18:37:38 +02:00
parent 7f3ea9c626
commit 814da1e9ff
8 changed files with 95 additions and 6 deletions
+4
View File
@@ -457,6 +457,10 @@ std::shared_ptr<TClient> TNetwork::Authentication(TConnection&& RawConnection) {
unsigned int ResponseCode = 0;
AuthResStr = Http::POST(Application::GetBackendUrlForAuth() + Target, AuthReq.dump(), "application/json", &ResponseCode);
if (AuthResStr == Http::ErrorString || ResponseCode != 200) {
Application::TopLevelDomainFailed(true);
AuthResStr = Http::POST(Application::GetBackendUrlForAuth() + Target, AuthReq.dump(), "application/json", &ResponseCode);
}
} catch (const std::exception& e) {
beammp_debugf("Invalid json sent by client, kicking: {}", e.what());