diff --git a/cms/settings.py b/cms/settings.py index f816b2982..711a432a1 100644 --- a/cms/settings.py +++ b/cms/settings.py @@ -484,7 +484,7 @@ if GLOBAL_LOGIN_REQUIRED: # this should go after the AuthenticationMiddleware middleware - MIDDLEWARE.insert(5, "login_required.middleware.LoginRequiredMiddleware") + MIDDLEWARE.insert(6, "login_required.middleware.LoginRequiredMiddleware") LOGIN_REQUIRED_IGNORE_PATHS = [ r'/accounts/login/$', r'/accounts/logout/$',