debian-mirror-gitlab/app/views/profiles/two_factor_auths/create.html.haml

9 lines
365 B
Text
Raw Normal View History

2019-09-04 21:01:54 +05:30
- page_title _('Two-factor Authentication'), _('Account')
2021-02-22 17:27:13 +05:30
- add_page_specific_style 'page_bundles/profile_two_factor_auth'
2015-09-11 14:41:01 +05:30
2021-02-22 17:27:13 +05:30
- 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!')
2015-09-11 14:41:01 +05:30
2021-02-22 17:27:13 +05:30
= render 'codes', show_success_alert: true