mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-02-07 20:37:28 +08:00
style: move from "confirm" to "verify" by May's request
This commit is contained in:
@@ -25,16 +25,16 @@
|
||||
window.location.href = "/home"
|
||||
}
|
||||
if (location.pathname !== '/') {
|
||||
location.href = `/${params.get('confirm-email') ? `?confirm-email=${params.get('confirm-email')}` : ""}`
|
||||
location.href = `/${params.get('code') ? `?code=${params.get('code')}` : ""}`
|
||||
} else
|
||||
if (params.get('confirm-email')) {
|
||||
if (params.get('code')) {
|
||||
|
||||
state = 'verify'
|
||||
verifyMsg = t("welcome.verifying")
|
||||
submitting = true
|
||||
|
||||
// Send request to server
|
||||
USER.confirmEmail(params.get('confirm-email')!)
|
||||
USER.confirmEmail(params.get('code')!)
|
||||
.then(() => {
|
||||
verifyMsg = t('welcome.verified')
|
||||
submitting = false
|
||||
|
||||
Reference in New Issue
Block a user