🐛 Adapt upstream breaking changes PR#964

This commit is contained in:
xtaodada 2022-05-17 21:28:02 +08:00
parent 4ca701829e
commit 008318fae1
Signed by: xtaodada
GPG Key ID: 4CBB3F4FA8C85659

View File

@ -1,6 +1,7 @@
package com.xtaolabs.gcauth_oauth.handler;
import emu.grasscutter.auth.*;
import emu.grasscutter.game.Account;
import emu.grasscutter.server.http.objects.ComboTokenResJson;
import emu.grasscutter.server.http.objects.LoginResultJson;
@ -23,8 +24,9 @@ public class GCAuthAuthenticationHandler implements AuthenticationSystem {
}
@Override
public boolean verifyUser(String s) {
return false;
public Account verifyUser(String s) {
// Unhandled.
return null;
}
@Override