Fix Not Redirecting on Expired Token
This commit is contained in:
parent
05beab587b
commit
fa2c7d9ca5
1 changed files with 1 additions and 2 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue