From c37fb47795d524a0c7eda8e164a5ddfe2ab514f4 Mon Sep 17 00:00:00 2001 From: Gravita Date: Fri, 21 May 2021 17:48:29 +0700 Subject: [PATCH] [FIX] AccessToken null --- .../gravit/launchserver/socket/response/auth/AuthResponse.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {