Skip to content

Error while enabling 2FA

Summary

Not able to enable 2FA due to error "You must provide a valid current password."

Steps to reproduce

  1. Log in to GitLab
  2. Go to Account -> Enable 2FA
  3. Register new authentication device using QR code. I am using Microsoft authenticator app.
  4. Enter current password and token.

What is the current bug behavior?

The error "You must provide a valid current password." is thrown while enabling 2FA even though valid current password is used. The password used is valid as I am using the same for log-in.

What is the expected correct behavior?

Should be possible to enable 2FA with current password and token.

Relevant logs and/or screenshots

image

Priority

  • Urgent
  • High
  • Medium
  • Low

Severity

  • Blocker
  • Major
  • Normal
  • Low

Impact

(What is the impact of this issue? Is it blocking a release? Are there any time constraints?, for example: "We have a release tomorrow")