Remove BrokenLinkEmailsMiddleware

I got spammed with a few emails from seemingly bots trying to access the site URLs with `/favicon.ico` at the end, for example:

/about//favicon.ico

If this goes out of hand, it could cause significant costs from the email service.
This commit is contained in:
Bruno Alla 2023-01-28 23:16:49 +00:00
parent fdf9ba27f1
commit cb2f24ba8d
No known key found for this signature in database

View File

@ -152,7 +152,6 @@ MIDDLEWARE = [
"django.middleware.csrf.CsrfViewMiddleware",
"django.contrib.auth.middleware.AuthenticationMiddleware",
"django.contrib.messages.middleware.MessageMiddleware",
"django.middleware.common.BrokenLinkEmailsMiddleware",
"django.middleware.clickjacking.XFrameOptionsMiddleware",
]