2022-06-21 17:19:12 +05:30
|
|
|
= render Pajamas::AlertComponent.new(variant: :warning,
|
2022-05-07 20:08:51 +05:30
|
|
|
alert_class: 'js-recovery-settings-callout gl-mt-5',
|
2022-06-21 17:19:12 +05:30
|
|
|
alert_data: { feature_id: Users::CalloutsHelper::TWO_FACTOR_AUTH_RECOVERY_SETTINGS_CHECK,
|
|
|
|
dismiss_endpoint: callouts_path,
|
|
|
|
defer_links: 'true' },
|
2022-07-16 23:28:13 +05:30
|
|
|
close_button_data: { testid: 'close-account-recovery-regular-check-callout' }) do |c|
|
|
|
|
= c.body do
|
2021-10-27 15:23:28 +05:30
|
|
|
= s_('Profiles|Ensure you have two-factor authentication recovery codes stored in a safe place.')
|
|
|
|
= link_to _('Learn more.'), help_page_path('user/profile/account/two_factor_authentication', anchor: 'recovery-codes'), target: '_blank', rel: 'noopener noreferrer'
|
2022-07-16 23:28:13 +05:30
|
|
|
= c.actions do
|
2021-10-27 15:23:28 +05:30
|
|
|
= link_to profile_two_factor_auth_path, class: 'deferred-link btn gl-alert-action btn-confirm btn-md gl-button' do
|
|
|
|
= s_('Profiles|Manage two-factor authentication')
|