diff --git a/README.md b/README.md index 5ff099a..2cba884 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ Grasscutter Authentication System - To use access control, you need set the `ACCESS_KEY` in config.json inside plugins/GCAuth. (Optional) - All payload must be send with `application/json` and Compact JSON format ( without unnecessary spaces ) - Auth endpoint is: - - Authentication Checking : `/authentication/type` (GET) , it'll return `GCAuthAuthentication` if GCAuth is loaded and enabled. + - Authentication Checking : `/authentication/type` (GET) , it'll return `GCAuthAuthenticationHanlder` if GCAuth is loaded and enabled. - Register: `/authentication/register` (POST) ``` {"username":"username","password":"password","password_confirmation":"password_confirmation"} diff --git a/src/main/java/me/exzork/gcauth/handler/GCAuthExternalAuthenticator.java b/src/main/java/me/exzork/gcauth/handler/GCAuthExternalAuthenticator.java index b02a624..6b580ba 100644 --- a/src/main/java/me/exzork/gcauth/handler/GCAuthExternalAuthenticator.java +++ b/src/main/java/me/exzork/gcauth/handler/GCAuthExternalAuthenticator.java @@ -192,7 +192,6 @@ public class GCAuthExternalAuthenticator implements ExternalAuthenticator { Grasscutter.getLogger().error("[Dispatch] Error while changing user password."); e.printStackTrace(); } - response.send(authResponse); } }