Final Product
This commit is contained in:
parent
a8cf583569
commit
a9f44c29af
48 changed files with 3908 additions and 581 deletions
|
@ -1,7 +1,7 @@
|
|||
window.addEventListener("load", async (loadEvent) => {
|
||||
await loadCommon();
|
||||
|
||||
if (session && session.key) {
|
||||
if (session.key) {
|
||||
window.location.href = '/';
|
||||
}
|
||||
|
||||
|
@ -20,7 +20,7 @@ window.addEventListener("load", async (loadEvent) => {
|
|||
const header = document.querySelector("#login-header-text");
|
||||
const error = document.querySelector("#error-message");
|
||||
|
||||
if (session) {
|
||||
if (!session.key && session.id) {
|
||||
error.style.display = "block";
|
||||
error.textContent = "You have been signed out due to inactivity";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue