Skip to content

Commit

Permalink
Update: Changed position of the middleware
Browse files Browse the repository at this point in the history
Signed-off-by: RafaelJohn9 <[email protected]>
  • Loading branch information
RafaelJohn9 committed Jan 22, 2025
1 parent bddfb0f commit 4ce40e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pontoon/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,13 +329,13 @@ def _default_from_email():
"django.middleware.common.CommonMiddleware",
"django.contrib.sessions.middleware.SessionMiddleware",
"django.contrib.auth.middleware.AuthenticationMiddleware",
"pontoon.base.middleware.AccountDisabledMiddleware",
"pontoon.base.middleware.ThrottleIpMiddleware",
"django.middleware.csrf.CsrfViewMiddleware",
"django.contrib.messages.middleware.MessageMiddleware",
"django.middleware.clickjacking.XFrameOptionsMiddleware",
"csp.middleware.CSPMiddleware",
"pontoon.base.middleware.EmailConsentMiddleware",
"pontoon.base.middleware.AccountDisabledMiddleware",
)

CONTEXT_PROCESSORS = (
Expand Down

0 comments on commit 4ce40e6

Please sign in to comment.