[FIX] AccessToken null

This commit is contained in:
Gravita 2021-05-21 17:48:29 +07:00
parent e1f356feb7
commit c37fb47795

View file

@ -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) {