#3282 【注册】修改邮箱对地址作格式校验

Closed
created 1 year ago by wangj · 3 comments
wangj commented 1 year ago
复现步骤: 前提条件:未激活邮箱登录 1. 点击修改邮箱 2. 邮箱地址,输入任意字符,比如8888。点击确定 期望结果:前端直接报错,不用提交请求给后端 实际结果:请求提交给后端了,界面提示:“一封新的确认邮件已经被发送至 8888,请检查您的收件箱并在 3 小时 内完成确认注册操作。” ![image](/attachments/6d286234-458a-413a-a78b-4f2151063c85)
wangj added this to the V20221130 milestone 1 year ago
wangj added the
bug
label 1 year ago
liuzx was assigned by wangj 1 year ago
zhoupzh was assigned by wangj 1 year ago
wangj commented 1 year ago
Owner
这里的格式校验,包括2块:(1)邮箱格式 xxx@xxx.xxx (2)配置文件中的EMAIL_DOMAIN_WHITELIST
zhoupzh added the
test
label 1 year ago
wangj commented 1 year ago
Owner
邮箱地址不在白名单时,修改邮箱页面报错提示:“请与所请求的格式保持一致。”,让人看不明白。建议优化下提示语。
wangj removed the
test
label 1 year ago
wangj commented 1 year ago
Owner
> 邮箱地址不在白名单时,修改邮箱页面报错提示:“请与所请求的格式保持一致。”,让人看不明白。建议优化下提示语。 最新效果:提示“暂不支持此类电子邮件地址。”
wangj closed this issue 1 year ago
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Loading…
There is no content yet.