diff --git a/app/views/settings/security/_totp_enabled.haml b/app/views/settings/security/_totp_enabled.haml index 37cbc70a..4c383227 100644 --- a/app/views/settings/security/_totp_enabled.haml +++ b/app/views/settings/security/_totp_enabled.haml @@ -1,3 +1,3 @@ %p Your account is set up to require the use of a one-time password in order to log in = link_to t('views.actions.remove'), destroy_user_2fa_path, class: 'btn btn-primary', method: 'delete', - data: { confirm: t('views.settings.security.2fa.detach_confirm') } \ No newline at end of file + data: { confirm: t('views.settings.security.2fa.detach_confirm') } diff --git a/app/views/settings/security/_totp_setup.haml b/app/views/settings/security/_totp_setup.haml index 5f82701a..3b60b589 100644 --- a/app/views/settings/security/_totp_setup.haml +++ b/app/views/settings/security/_totp_setup.haml @@ -39,4 +39,4 @@ %p Once you have downloaded an authenticator app, add your Retrospring account by scanning the QR code displayed on the left. = f.text_field :otp_validation, class: 'totp-setup__code-field', label: 'Enter the code displayed in the app here:' = f.hidden_field :otp_secret_key, value: current_user.otp_secret_key - = f.submit t('views.actions.save'), class: 'btn btn-primary' \ No newline at end of file + = f.submit t('views.actions.save'), class: 'btn btn-primary'