mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-02-12 07:17:27 +08:00
[+] Auto redirect to /home when already logged in
This commit is contained in:
@@ -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")
|
||||||
|
|||||||
Reference in New Issue
Block a user