邮箱未验证的用户,使用手机号登录后,无法resend email(Captcha Error)
Summary
邮箱未验证的用户,使用手机号登录后,无法resend email(Captcha Error)
Steps to reproduce
This is found on Staging, to reproduce this on your dev you should run ::Feature.enable(:soft_email_confirmation)
in Rails console.
- 新注册用户,但不进行邮箱验证
- 使用手机号进行登录
- 在alert message中进行resend email
- 查看 resend 页面
- 新的注册机制,SaaS Production 应该无影响
Example Project
What is the current bug behavior?
页面提示captcha error,verify 无法正常使用
What is the expected correct behavior?
可以成功通过验证并resend email
Relevant logs and/or screenshots
Output of checks
Results of GitLab environment info
Expand for output related to GitLab environment info
(For installations with omnibus-gitlab package run and paste the output of: `sudo gitlab-rake gitlab:env:info`) (For installations from source run and paste the output of: `sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production`)
Results of GitLab application Check
Expand for output related to the GitLab application check
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:check SANITIZE=true
)(For installations from source run and paste the output of:
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true
)(we will only investigate if the tests are passing)
Possible fixes
由 Martin Tan 编辑于