Skip to content
Snippets Groups Projects
Commit ec69eec5 authored by Jillian Vogel's avatar Jillian Vogel
Browse files

Re-add XForwardedForMiddleware

parent 285bbe84
No related branches found
No related tags found
No related merge requests found
......@@ -1474,6 +1474,8 @@ CREDIT_NOTIFICATION_CACHE_TIMEOUT = 5 * 60 * 60
################################# Middleware ###################################
MIDDLEWARE = [
'openedx.core.lib.x_forwarded_for.middleware.XForwardedForMiddleware',
# Avoid issue with https://blog.heroku.com/chrome-changes-samesite-cookie
# Override was found here https://github.com/django/django/pull/11894
'django_cookies_samesite.middleware.CookiesSameSite',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment