mirror of
https://github.com/ViaVersion/VIAaaS.git
synced 2025-02-19 02:11:50 +01:00
case sensitivity in minecraft.id
This commit is contained in:
parent
dacd630d73
commit
5416077d28
@ -258,7 +258,7 @@
|
|||||||
link.innerText = "Listen to username in VIAaaS instance";
|
link.innerText = "Listen to username in VIAaaS instance";
|
||||||
link.href = "javascript:";
|
link.href = "javascript:";
|
||||||
link.onclick = () => {
|
link.onclick = () => {
|
||||||
let user = prompt("Username: ", "");
|
let user = prompt("Username (Minecraft.ID is case-sensitive): ", "");
|
||||||
let callbackUrl = new URL(location.origin + location.pathname + "?username=" + encodeURIComponent(user));
|
let callbackUrl = new URL(location.origin + location.pathname + "?username=" + encodeURIComponent(user));
|
||||||
location = "https://api.minecraft.id/gateway/start/" + encodeURIComponent(user) + "?callback=" + encodeURIComponent(callbackUrl);
|
location = "https://api.minecraft.id/gateway/start/" + encodeURIComponent(user) + "?callback=" + encodeURIComponent(callbackUrl);
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user