Commit 7f2a124c by Adam Stankiewicz Committed by George Babey

Adding secure flag onto enterprise_customer_uuid cookie

parent 2bbb1dc9
...@@ -348,6 +348,7 @@ def set_enterprise_customer_cookie(site, response, enterprise_customer_uuid, max ...@@ -348,6 +348,7 @@ def set_enterprise_customer_cookie(site, response, enterprise_customer_uuid, max
settings.ENTERPRISE_CUSTOMER_COOKIE_NAME, enterprise_customer_uuid, settings.ENTERPRISE_CUSTOMER_COOKIE_NAME, enterprise_customer_uuid,
domain=site.siteconfiguration.base_cookie_domain, domain=site.siteconfiguration.base_cookie_domain,
max_age=max_age, max_age=max_age,
secure=True,
) )
else: else:
log.warning( log.warning(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment