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

erp5_core: rename

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