Retrospring/app/views/settings/security/_totp_enabled.haml

7 lines
552 B
Plaintext
Raw Normal View History

%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.
= link_to t('views.actions.remove'), destroy_user_2fa_path, class: 'btn btn-danger', method: 'delete',
data: { confirm: t('views.settings.security.2fa.detach_confirm') }
2020-11-01 10:10:59 -08:00
= link_to 'Re-generate recovery codes', reset_user_recovery_codes_path, class: 'btn btn-primary', method: 'delete',
data: { confirm: 'Are you sure? This will disable your previous set of recovery codes.' }