added back missing settings line

This commit is contained in:
Alysia Broddrick 2023-06-12 11:39:13 -07:00
parent 85671dcb94
commit 235bbb20ae
No known key found for this signature in database
GPG key ID: 03917052CD0F06B7

View file

@ -133,6 +133,8 @@ MIDDLEWARE = [
"django.middleware.csrf.CsrfViewMiddleware",
# add `user` (the currently-logged-in user) to incoming HttpRequest objects
"django.contrib.auth.middleware.AuthenticationMiddleware",
# Require login for every single request by default
"login_required.middleware.LoginRequiredMiddleware",
# provide framework for displaying messages to the user, see documentation
"django.contrib.messages.middleware.MessageMiddleware",
# provide clickjacking protection via the X-Frame-Options header