Fix Not Redirecting on Expired Token

This commit is contained in:
BloxerHD 2026-06-23 18:09:46 +01:00
commit fa2c7d9ca5
Signed by: bloxerhd018
SSH key fingerprint: SHA256:ItSfcfhpXlfkMK3uQSDYW5X3XKm0hbHWQqWcCK57px8

View file

@ -63,8 +63,7 @@ window.onload = async function() {
document.getElementById("loading-screen").style.display = "none";
} else { // Has expired - Prompt user to log back in
console.log("Token Expired")
//window.location.href = "/account/login?redirect=/account"
window.location.href = "/account/login?redirect=/account"
}
} else { // User has never logged in for this session
window.location.href = "/account/login?redirect=/account"