mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-08-28 04:41:12 +00:00
Refactor region handler
This commit is contained in:
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user