Retrospring/app/views/settings/_security.haml

8 lines
290 B
Plaintext
Raw Normal View History

2020-10-18 01:39:46 -07:00
.card
.card-body
%h2= t(".heading")
- if current_user.otp_module_disabled?
= render partial: "settings/security/totp_setup", locals: { qr_svg: qr_svg }
2020-10-18 01:39:46 -07:00
- else
= render partial: "settings/security/totp_enabled", locals: { recovery_code_count: recovery_code_count }