mirror of
https://github.com/MewoLab/AquaDX.git
synced 2025-10-25 12:02:40 +00:00
[+] Auto redirect when migrated
This commit is contained in:
parent
e3486042a5
commit
2430b8c448
@ -97,6 +97,9 @@ if (location.pathname !== '/') {
|
||||
state = 'verify'
|
||||
verifyMsg = t("welcome.verify-state-2")
|
||||
}
|
||||
else if (e.message === 'Login not allowed: Card has been migrated to Minato.') {
|
||||
location.href = `https://portal.mumur.net/login?username=${encodeURIComponent(email)}`
|
||||
}
|
||||
else {
|
||||
error = e.message
|
||||
submitting = false
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user