mirror of
https://github.com/ViaVersion/VIAaaS.git
synced 2024-07-01 11:14:50 +02:00
oops fix hash
This commit is contained in:
parent
a99ada3d18
commit
ecbe0a604d
|
@ -1,6 +1,6 @@
|
||||||
$(() => {
|
$(() => {
|
||||||
let urlParams = new URLSearchParams();
|
let urlParams = new URLSearchParams();
|
||||||
window.location.hash.split("?").map(it => new URLSearchParams(it).forEach((a, b) => urlParams.append(b, a)));
|
window.location.hash.substr(1).split("?").map(it => new URLSearchParams(it).forEach((a, b) => urlParams.append(b, a)));
|
||||||
var username = urlParams.get("username");
|
var username = urlParams.get("username");
|
||||||
var mcauth_code = urlParams.get("mcauth_code");
|
var mcauth_code = urlParams.get("mcauth_code");
|
||||||
if (urlParams.get("mcauth_success") == "false") {
|
if (urlParams.get("mcauth_success") == "false") {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user