mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-11-15 03:31:15 +03:00
Отключена проверка в CheckServerRequest. Авторизация не теряется
This commit is contained in:
parent
b83666a584
commit
7f470ab3e3
1 changed files with 3 additions and 2 deletions
|
@ -26,8 +26,9 @@ public void reply() throws IOException {
|
|||
String serverID = VerifyHelper.verifyServerID(input.readASCII(41)); // With minus sign
|
||||
String client = input.readString(SerializeLimits.MAX_CLIENT);
|
||||
debug("Username: %s, Server ID: %s", username, serverID);
|
||||
Client clientData = server.sessionManager.getClient(session);
|
||||
if(!clientData.isAuth || clientData.type != Client.Type.SERVER) { requestError("Assess denied"); return;}
|
||||
//Фитча оставлена до внедрения WebSockets
|
||||
//Client clientData = server.sessionManager.getClient(session);
|
||||
//if(!clientData.isAuth || clientData.type != Client.Type.SERVER) { requestError("Assess denied"); return;}
|
||||
// Try check server with auth handler
|
||||
UUID uuid;
|
||||
try {
|
||||
|
|
Loading…
Reference in a new issue