mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-09-05 07:27:27 +08:00
feat: add email regex validation for user registration (#835)
This commit is contained in:
@@ -26,6 +26,7 @@ const messages: LocaleMessages = {
|
||||
FailedToRegisterMsg: "Failed to register",
|
||||
UserRegistrationDisabledMsg: "User registration is disabled, please contact the administrator",
|
||||
UserMailDomainMustInMsg: "User mail domain must be in this list",
|
||||
UserEmailNotMatchRegexMsg: "Email address format does not match the required pattern",
|
||||
InvalidVerifyCodeMsg: "Invalid verify code",
|
||||
InvalidEmailOrPasswordMsg: "Invalid email or password",
|
||||
VerifyMailSenderNotSetMsg: "Verify mail sender address is not set, please contact the administrator",
|
||||
|
||||
@@ -24,6 +24,7 @@ export type LocaleMessages = {
|
||||
FailedToRegisterMsg: string
|
||||
UserRegistrationDisabledMsg: string
|
||||
UserMailDomainMustInMsg: string
|
||||
UserEmailNotMatchRegexMsg: string
|
||||
InvalidVerifyCodeMsg: string
|
||||
InvalidEmailOrPasswordMsg: string
|
||||
VerifyMailSenderNotSetMsg: string
|
||||
|
||||
@@ -26,6 +26,7 @@ const messages: LocaleMessages = {
|
||||
FailedToRegisterMsg: "注册失败",
|
||||
UserRegistrationDisabledMsg: "用户注册已禁用, 请联系管理员",
|
||||
UserMailDomainMustInMsg: "用户邮箱域必须在此列表中",
|
||||
UserEmailNotMatchRegexMsg: "邮箱地址格式不符合要求",
|
||||
InvalidVerifyCodeMsg: "无效的验证码",
|
||||
InvalidEmailOrPasswordMsg: "无效的邮箱或密码",
|
||||
VerifyMailSenderNotSetMsg: "验证邮件发送邮箱未设置, 请联系管理员",
|
||||
|
||||
Reference in New Issue
Block a user