Commit 541a4d02 authored by Romain Courteaud's avatar Romain Courteaud

[erp5_core] Use SameSite=None cookie

Keep compatibility with officejs apps
parent 5d86b98b
......@@ -21,5 +21,6 @@ resp.setCookie(
path='/',
secure=getattr(portal, 'REQUEST', {}).get('SERVER_URL', '').startswith('https:'),
http_only=True,
same_site='None',
**kw
)
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