GZTimeWalker / GZCTF

The GZ::CTF project, an open source CTF platform.
https://docs.ctf.gzti.me/
GNU Affero General Public License v3.0
733 stars 83 forks source link

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

Closed kengwang closed 2 months ago

kengwang commented 2 months ago

Before submitting / 提交之前

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) / 您所使用的构建的提交哈希是什么?(在关于页面和后端日志中)

efc2c424284b1b3025e2c924c4d2115ef221fcdb

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

All

Describe the bug / 描述 bug

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

Expected behavior / 期望行为

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

Possible fix / 可能的修复

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

Assigned to @kengwang

GZTimeWalker commented 2 months ago

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