mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-17 11:22:57 +08:00
Add verifyUser to AuthenticationHandler
This commit is contained in:
committed by
Melledy
Unverified
parent
9ed1bb9b94
commit
c932f9c7e5
+6
@@ -28,6 +28,12 @@ public class DefaultAuthenticationHandler implements AuthenticationHandler {
|
||||
res.send("Authentication is not available with the default authentication method");
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean verifyUser(String details) {
|
||||
Grasscutter.getLogger().info(translate("dispatch.authentication.default_unable_to_verify"));
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public LoginResultJson handleGameLogin(Request req, LoginAccountRequestJson requestData) {
|
||||
LoginResultJson responseData = new LoginResultJson();
|
||||
|
||||
Reference in New Issue
Block a user