Merge pull request #24593 from CUCWD/ztraboo.master/samesite-cookie-session-default

Fix issue with `SameSite=None` cookies from being blocked when `django_cookies_samesite.middleware.CookiesSameSite` is enabled for `devstack_docker` environment.
This commit is contained in:
Feanil Patel
2020-07-30 13:14:47 -04:00
committed by GitHub

View File

@@ -395,6 +395,12 @@ if FEATURES.get('ENABLE_ENTERPRISE_INTEGRATION'):
# List of enterprise customer uuids to exclude from transition to use of enterprise-catalog
ENTERPRISE_CUSTOMERS_EXCLUDED_FROM_CATALOG = ()
#####################################################################
# django-session-cookie middleware
DCS_SESSION_COOKIE_SAMESITE = 'Lax'
DCS_SESSION_COOKIE_SAMESITE_FORCE_ALL = True
#####################################################################
# See if the developer has any local overrides.
if os.path.isfile(join(dirname(abspath(__file__)), 'private.py')):