Commit 8cffae81 authored by Romain Courteaud's avatar Romain Courteaud

erp5_core: rename

parent a5b56fc6
......@@ -54,7 +54,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>ERP5Site_getSameSite</string> </value>
<value> <string>ERP5Site_getAuthCookieSameSite</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -18,7 +18,7 @@ portal.portal_sessions[
REQUEST_DICT = getattr(portal, 'REQUEST', {})
same_site = portal.ERP5Site_getSameSite(host=REQUEST_DICT.get('HTTP_HOST', None))
same_site = portal.ERP5Site_getAuthCookieSameSite(host=REQUEST_DICT.get('HTTP_HOST', None))
if same_site not in ('None', 'Lax', 'Strict'):
# Do not use the SameSite attribute
same_site = None
......
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