mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-02-14 00:17:27 +08:00
[+] Auto redirect when migrated
This commit is contained in:
@@ -97,6 +97,9 @@ if (location.pathname !== '/') {
|
|||||||
state = 'verify'
|
state = 'verify'
|
||||||
verifyMsg = t("welcome.verify-state-2")
|
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 {
|
else {
|
||||||
error = e.message
|
error = e.message
|
||||||
submitting = false
|
submitting = false
|
||||||
|
|||||||
Reference in New Issue
Block a user