forked from Cookies_Github_mirror/AquaDX
[+] Auto redirect to /home when already logged in
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user