Fix bad refactor
This commit is contained in:
parent
d3cc421225
commit
68b1bbb908
|
@ -2,6 +2,6 @@
|
|||
.card-body
|
||||
%h2= t('views.settings.security.2fa.title')
|
||||
- if current_user.otp_module_disabled?
|
||||
= render partial: 'settings/totp_setup', locals: { qr_svg: qr_svg }
|
||||
= render partial: 'settings/security/totp_setup', locals: { qr_svg: qr_svg }
|
||||
- else
|
||||
= render partial: 'settings/totp_enabled'
|
||||
= render partial: 'settings/security/totp_enabled'
|
||||
|
|
Loading…
Reference in New Issue