diff --git a/app/views/settings/_security.haml b/app/views/settings/_security.haml index e9bfa3b4..bc673ba7 100644 --- a/app/views/settings/_security.haml +++ b/app/views/settings/_security.haml @@ -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'