Commit 55b643f2 authored by Romain Courteaud's avatar Romain Courteaud Committed by Rafael Monnerat

[erp5_core] Use SameSite=None cookie

Keep compatibility with officejs apps
parent b575add0
......@@ -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