开启MFA的用户,无法通过手机号正常登录
Summary
开启MFA的用户,无法通过手机号正常登录
Steps to reproduce
- 用户开启MFA (用户设置 -> 账户 -> 双重认证 -> 启用双重认证)
- 使用手机号进行登录
- 异常提示 Invalid login or password,无法正常登录
Example Project
What is the current bug behavior?
异常提示 Invalid login or password,无法正常登录
What is the expected correct behavior?
用户可以正常登录
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
由 Wei Duan(Wilson) 编辑于