mirror of
https://github.com/ViaVersion/VIAaaS.git
synced 2025-01-23 21:52:35 +01:00
dont send null clienttoken
This commit is contained in:
parent
0579027ff1
commit
3eb356d46f
@ -125,7 +125,7 @@ function validateToken(account) {
|
||||
return fetch(getCorsProxy() + "https://authserver.mojang.com/validate", {method: "post",
|
||||
body: JSON.stringify({
|
||||
accessToken: account.accessToken,
|
||||
clientToken: account.clientToken
|
||||
clientToken: account.clientToken || undefined
|
||||
}),
|
||||
headers: {"content-type": "application/json"}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user