Commit 6cb42562 authored by Romain Courteaud's avatar Romain Courteaud

[erp5_core] Use SameSite=None cookie

Keep compatibility with officejs apps
parent 33e9bade
Pipeline #6645 failed with stage
in 0 seconds
......@@ -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