mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-02-01 03:09:08 +01:00
7 lines
261 B
Text
7 lines
261 B
Text
.card
|
|
.card-body
|
|
%h2= t('views.settings.security.2fa.title')
|
|
- if current_user.otp_module_disabled?
|
|
= render partial: 'settings/security/totp-setup', locals: { qr_svg: qr_svg }
|
|
- else
|
|
= render partial: 'settings/security/totp-enabled'
|