HAML implementation of 2FA `Configure it later` button
What does this MR do and why?
Remove JS functionality that appended the Configure it later button to a flash message in the 2FA page. This was a bit fragile. We replace it for a HAML/Rails implementation that use link_button_to helper and feels more robust and simpler.
Closes #382698 (closed)
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
No changes
| Before | After |
|---|---|
![]() |
![]() |
How to set up and validate locally
- Enable 2FA for the whole application in:
/admin/application_settings/general#js-signin-settings - Create a new user or remove the 2FA from a pre-existing user.
- Go to
/-/profile/two_factor_auth
Edited by Eduardo Sanz García

