mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-02-15 01:37:28 +08:00
[+] 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