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

@@ -2402,6 +2402,7 @@
"notVerified": "تایید نشده",
"verificationRequired": "لطفاً ایمیل خود را تایید کنید تا از ورود با ایمیل استفاده کنید.",
"resendVerification": "ارسال مجدد ایمیل تایید",
"resendIn": "ارسال مجدد در {{seconds}} ثانیه",
"verificationResent": "ایمیل تایید مجدداً ارسال شد!",
"canLoginWithEmail": "اکنون می‌توانید با ایمیل و رمز عبور وارد شوید.",
"emailAlreadyRegistered": "این ایمیل قبلاً به حساب دیگری متصل شده است. اگر این ایمیل شماست، با آن وارد شوید یا با پشتیبانی تماس بگیرید.",