diff --git a/LaunchServer/src/main/java/pro/gravit/launchserver/socket/response/auth/AuthResponse.java b/LaunchServer/src/main/java/pro/gravit/launchserver/socket/response/auth/AuthResponse.java index 160d3a48..afa5cabe 100644 --- a/LaunchServer/src/main/java/pro/gravit/launchserver/socket/response/auth/AuthResponse.java +++ b/LaunchServer/src/main/java/pro/gravit/launchserver/socket/response/auth/AuthResponse.java @@ -59,7 +59,7 @@ public void execute(ChannelHandlerContext ctx, Client clientData) throws Excepti server.authManager.check(context); password = server.authManager.decryptPassword(password); server.authHookManager.preHook.hook(context, clientData); - server.authManager.auth(context, password); + result.accessToken = server.authManager.auth(context, password); server.authHookManager.postHook.hook(context, clientData); if (getSession) { if (clientData.session == null) {