Invalid current password error not set when 2FA setting is on for group

What does this MR do and why?

Error message is displayed properly in case user enters wrong current password while setting up 2FA first time when Group's 2FA is enforced Resolves #346494 (closed)

Screenshots or screen recordings

Screenshot_2022-08-23_at_6.56.22_PM

How to set up and validate locally

Please follow the steps to reproduce here - #346494 (closed)

But this time error should be displayed properly

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Smriti Garg

Merge request reports

Loading