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

This commit is contained in:
Azalea
2025-01-04 19:32:02 -05:00
parent df3deee316
commit f290e6e576

View File

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