Allow for SiteConfiguration override of SESSION_COOKIE_DOMAIN setting in Studio
This commit is contained in:
@@ -389,6 +389,9 @@ MIDDLEWARE_CLASSES = (
|
||||
|
||||
# use Django built in clickjacking protection
|
||||
'django.middleware.clickjacking.XFrameOptionsMiddleware',
|
||||
|
||||
# This must be last so that it runs first in the process_response chain
|
||||
'openedx.core.djangoapps.site_configuration.middleware.SessionCookieDomainOverrideMiddleware',
|
||||
)
|
||||
|
||||
# Clickjacking protection can be enabled by setting this to 'DENY'
|
||||
|
||||
Reference in New Issue
Block a user