Re-add XForwardedForMiddleware
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user