fix: add resend email cooldown and allow email change for all auth types

Add 60-second cooldown timer on resend verification email button to
prevent spam. Remove auth_type restriction on change email button so
OAuth users can also change their email.
This commit is contained in:
Fringg
2026-02-23 15:44:16 +03:00
parent 2b2ead837c
commit 91d567f9cc
5 changed files with 37 additions and 23 deletions

View File

@@ -2401,6 +2401,7 @@
"notVerified": "未验证",
"verificationRequired": "请验证邮箱以使用邮箱登录。",
"resendVerification": "重新发送验证邮件",
"resendIn": "{{seconds}} 秒后重新发送",
"verificationResent": "验证邮件已重新发送!",
"canLoginWithEmail": "现在您可以使用邮箱和密码登录。",
"emailAlreadyRegistered": "此邮箱已绑定到其他账户。如果这是您的邮箱,请使用邮箱登录或联系客服。",