diff --git a/src/index.js b/src/index.js index 8830368806fb6d73f843639e766bcce859887785..2a1aa283c10cc44361feb1e88cedc8219b1d16f9 100644 --- a/src/index.js +++ b/src/index.js @@ -77,17 +77,17 @@ window.App = { } let username; - const jwt = getCookie("jwt"); - if (jwt) { - const data = parseJwt(jwt); - username = data.typ.name; - alert("Your username is: " + username); - } else { + // const jwt = getCookie("jwt"); + // if (jwt) { + // const data = parseJwt(jwt); + // username = data.typ.name; + // alert("Your username is: " + username); + // } else { username = qs.name; if (!username) { username = promptForName(username); // promptForName is blocking } - } + // } const myNametag = document.querySelector("#player-rig .nametag"); myNametag.setAttribute("text", "value", username);