mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-25 12:08:40 +02:00
added back missing settings line
This commit is contained in:
parent
85671dcb94
commit
235bbb20ae
1 changed files with 2 additions and 0 deletions
|
@ -133,6 +133,8 @@ MIDDLEWARE = [
|
||||||
"django.middleware.csrf.CsrfViewMiddleware",
|
"django.middleware.csrf.CsrfViewMiddleware",
|
||||||
# add `user` (the currently-logged-in user) to incoming HttpRequest objects
|
# add `user` (the currently-logged-in user) to incoming HttpRequest objects
|
||||||
"django.contrib.auth.middleware.AuthenticationMiddleware",
|
"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
|
# provide framework for displaying messages to the user, see documentation
|
||||||
"django.contrib.messages.middleware.MessageMiddleware",
|
"django.contrib.messages.middleware.MessageMiddleware",
|
||||||
# provide clickjacking protection via the X-Frame-Options header
|
# provide clickjacking protection via the X-Frame-Options header
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue