From cb3ed618729628b23a23b1c55f8bd932e5ec77c3 Mon Sep 17 00:00:00 2001 From: catborise Date: Thu, 10 Jun 2021 11:17:44 +0300 Subject: [PATCH] exclude login view for login required necessity to prevent ERR_TOO_MANY_REDIRECTS error --- webvirtcloud/settings.py.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webvirtcloud/settings.py.template b/webvirtcloud/settings.py.template index 4dab092..d27fe53 100644 --- a/webvirtcloud/settings.py.template +++ b/webvirtcloud/settings.py.template @@ -212,7 +212,7 @@ SHOW_PROFILE_EDIT_PASSWORD = True OTP_ENABLED = False -LOGIN_REQUIRED_IGNORE_VIEW_NAMES = ["accounts:email_otp"] +LOGIN_REQUIRED_IGNORE_VIEW_NAMES = ["accounts:login", "accounts:email_otp"] LDAP_ENABLED = False LDAP_URL = ''