From 55082330019b1112e95bc7684964f456b242ed9a Mon Sep 17 00:00:00 2001 From: muhammadeko Date: Sun, 15 May 2022 11:30:02 +0700 Subject: [PATCH] fix account save --- .../me/exzork/gcauth/handler/GCAuthExternalAuthenticator.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/me/exzork/gcauth/handler/GCAuthExternalAuthenticator.java b/src/main/java/me/exzork/gcauth/handler/GCAuthExternalAuthenticator.java index 6b580ba..599e5f3 100644 --- a/src/main/java/me/exzork/gcauth/handler/GCAuthExternalAuthenticator.java +++ b/src/main/java/me/exzork/gcauth/handler/GCAuthExternalAuthenticator.java @@ -134,6 +134,7 @@ public class GCAuthExternalAuthenticator implements ExternalAuthenticator { for (String permission : GCAuth.getConfigStatic().defaultPermissions) { account.addPermission(permission); } + account.save(); } } response.send(authResponse);