Fix bad refactor

This commit is contained in:
Dominik Kwiatek 2020-10-21 13:55:55 +02:00
parent d3cc421225
commit 68b1bbb908
1 changed files with 2 additions and 2 deletions

View File

@ -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'