diff --git a/LaunchServer/src/main/java/pro/gravit/launchserver/manangers/AuthManager.java b/LaunchServer/src/main/java/pro/gravit/launchserver/manangers/AuthManager.java index 7c01ab38..e6262f87 100644 --- a/LaunchServer/src/main/java/pro/gravit/launchserver/manangers/AuthManager.java +++ b/LaunchServer/src/main/java/pro/gravit/launchserver/manangers/AuthManager.java @@ -51,7 +51,7 @@ public String newCheckServerToken(String serverName, String authId, boolean publ .claim("serverName", serverName) .claim("authId", authId) .claim("tokenType", "checkServer") - .claim("isPublic", publicOnly ? "true" : "false") + .claim("isPublic", publicOnly) .signWith(server.keyAgreementManager.ecdsaPrivateKey) .compact(); }