Refactor region handler

This commit is contained in:
SaltySnail
2026-06-27 21:04:23 +02:00
parent beea63bef7
commit 569d46769a
6 changed files with 14 additions and 29 deletions
+1 -1
View File
@@ -458,7 +458,7 @@ 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);
Application::TopLevelDomainFailed();
AuthResStr = Http::POST(Application::GetBackendUrlForAuth() + Target, AuthReq.dump(), "application/json", &ResponseCode);
}