1
0
Fork 0

Adds ip block middleware

This commit is contained in:
Mouse Reeve 2021-09-17 11:43:47 -07:00
parent 252fff8bfe
commit 16854a52bc
3 changed files with 19 additions and 0 deletions

View file

@ -78,6 +78,7 @@ MIDDLEWARE = [
"django.middleware.csrf.CsrfViewMiddleware",
"django.contrib.auth.middleware.AuthenticationMiddleware",
"bookwyrm.middleware.TimezoneMiddleware",
"bookwyrm.middleware.IPBlocklistMiddleware",
"django.contrib.messages.middleware.MessageMiddleware",
"django.middleware.clickjacking.XFrameOptionsMiddleware",
]