mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-23 00:51:01 +03:00
Проверка checkSign в авторизации
This commit is contained in:
parent
8594c2f702
commit
4f65a0a396
1 changed files with 5 additions and 0 deletions
|
@ -45,6 +45,11 @@ public void execute(WebSocketService service, ChannelHandlerContext ctx, Client
|
|||
AuthProvider.authError(LaunchServer.server.config.authRejectString);
|
||||
return;
|
||||
}
|
||||
if(!clientData.checkSign)
|
||||
{
|
||||
AuthProvider.authError("Don't skip Launcher Update");
|
||||
return;
|
||||
}
|
||||
AuthProvider provider = LaunchServer.server.config.authProvider[authid];
|
||||
AuthProviderResult result = provider.auth(login, password, ip);
|
||||
if (!VerifyHelper.isValidUsername(result.username)) {
|
||||
|
|
Loading…
Reference in a new issue