mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-23 00:51:01 +03:00
[FIX] checkServer token
This commit is contained in:
parent
7a96e67517
commit
ead4689bcf
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue