GZTimeWalker/GZCTF

[BUG] 未验证邮箱时登录显示账号或密码错误

Closed this issue · 1 comments

Before submitting / 提交之前

  • I have verified that I use latest version and no similar issues were found. / 我已验证我使用的是最新版本,并且没有找到类似的问题。

What version of GZCTF are you using? / 您使用的 GZCTF 版本是什么?

0.19.1

What is the commit hash for your build? (in About page and backend logs) / 您所使用的构建的提交哈希是什么?(在关于页面和后端日志中)

efc2c42

In which browsers you can reproduce the issue? / 您在哪些浏览器中可以重现此问题?

All

Describe the bug / 描述 bug

当用户未验证邮箱时登录, 返回的提示为用户名或密码错误

Expected behavior / 期望行为

期望显示需要进行用户验证

Possible fix / 可能的修复

给邮箱未验证做好返回信息

Assigned to @kengwang

预期行为,设计中未验证的邮箱可以被重复注册,直到验证成功。