2020-11-01 09:41:37 -08:00
|
|
|
%p Your account is set up to require the use of a one-time password in order to log in.
|
2020-11-01 10:10:59 -08:00
|
|
|
%p You currently have #{recovery_code_count} unused recovery codes.
|
2022-01-15 08:52:56 -08:00
|
|
|
= button_to t('views.actions.remove'), destroy_user_2fa_path, class: 'btn btn-danger', method: 'delete',
|
2020-10-21 04:59:13 -07:00
|
|
|
data: { confirm: t('views.settings.security.2fa.detach_confirm') }
|
2022-01-15 08:52:56 -08:00
|
|
|
= button_to 'Re-generate recovery codes', reset_user_recovery_codes_path, class: 'btn btn-primary', method: 'delete',
|
2020-11-01 10:10:59 -08:00
|
|
|
data: { confirm: 'Are you sure? This will disable your previous set of recovery codes.' }
|