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
|