gitlab-org--gitlab-foss/app/views/profiles/two_factor_auths/_codes.html.haml

4 lines
230 B
Plaintext

- show_success_alert = local_assigns.fetch(:show_success_alert, nil)
.js-2fa-recovery-codes{ data: { codes: @codes.to_json, profile_account_path: profile_account_path(two_factor_auth_enabled_successfully: show_success_alert) } }