summaryrefslogtreecommitdiff
path: root/app/views/profiles/two_factor_auths/create.html.haml
blob: be4800024cf0dde9b115c5f924aa77e203e0d10e (plain)
1
2
3
4
5
6
7
8
- page_title _('Two-factor Authentication'), _('Account')
- add_page_specific_style 'page_bundles/profile_two_factor_auth'

- unless Feature.enabled?(:vue_2fa_recovery_codes, current_user, default_enabled: true)
  .gl-alert.gl-alert-success.gl-mb-5
    = _('Congratulations! You have enabled Two-factor Authentication!')

= render 'codes', show_success_alert: true