[FIX] checkServer token

This commit is contained in:
Gravita 2024-03-01 14:18:09 +07:00
parent 7a96e67517
commit ead4689bcf

View file

@ -51,7 +51,7 @@ public String newCheckServerToken(String serverName, String authId, boolean publ
.claim("serverName", serverName) .claim("serverName", serverName)
.claim("authId", authId) .claim("authId", authId)
.claim("tokenType", "checkServer") .claim("tokenType", "checkServer")
.claim("isPublic", publicOnly ? "true" : "false") .claim("isPublic", publicOnly)
.signWith(server.keyAgreementManager.ecdsaPrivateKey) .signWith(server.keyAgreementManager.ecdsaPrivateKey)
.compact(); .compact();
} }