diff --git a/js/9.8/scripts.js b/js/9.8/scripts.js index 65b4219..9cbde7f 100644 --- a/js/9.8/scripts.js +++ b/js/9.8/scripts.js @@ -70,7 +70,7 @@ function setPassword() { document.getElementById("login").style.display = "none"; window.sessionStorage.setItem(sha256("verified"), XORCipher.encode(sha256("passwordHash"), passwordHash)); - setCookie(sha256("verified"), XORCipher.encode(sha256("passwordHash"), passwordHash.toString()), 10) + setCookie(sha256("verified"), XORCipher.encode(sha256("passwordHash"), passwordHash), 10) } } @@ -107,11 +107,14 @@ export function sessionVerification() { verfiedStatus = null; } + console.log(vsString); + console.log(pnString); + let tF = retrieveData("templateFiles"); try { tF = JSON.parse(tF); } catch(e) { - verfiedStatus = null; + //verfiedStatus = null; } if (verfiedStatus == null) {