[+] Auto redirect to /home when already logged in

pull/99/head^2
Azalea 2025-01-04 19:32:02 -05:00
parent df3deee316
commit f290e6e576
1 changed files with 255 additions and 251 deletions

View File

@ -21,6 +21,10 @@
let error = ""
let verifyMsg = ""
if (USER.isLoggedIn()) {
window.location.href = "/home"
}
if (params.get('confirm-email')) {
state = 'verify'
verifyMsg = t("welcome.verifying")