GZTimeWalker / GZCTF

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

Bug:用户在修改邮箱后需要管理员手动激活 #128

Closed Konano closed 1 year ago

Konano commented 1 year ago

全局设置中「需要邮箱确认」为关闭状态时,用户在修改邮箱后会自动变成非激活状态,从而无法登陆。

GZTimeWalker commented 1 year ago

?为什么会有这种需求,这确实是账号系统的预期行为。

ouuan commented 1 year ago

改邮箱导致无法登录是预期外的,可以禁止改邮箱,但不应该没有任何警告就导致无法登录。

GZTimeWalker commented 1 year ago

fixed in https://github.com/GZTimeWalker/GZCTF/commit/908c5a1f57377293c1b704bd68f747849db3f889