Commit c86aa252 authored by Romain Courteaud's avatar Romain Courteaud

erp5_core: coding style

parent 985fc52d
...@@ -16,9 +16,9 @@ portal.portal_sessions[ ...@@ -16,9 +16,9 @@ portal.portal_sessions[
) )
]['ac_renew'] = ac_renew ]['ac_renew'] = ac_renew
REQUEST_DICT = getattr(portal, 'REQUEST', {}) REQUEST_DICT = portal.REQUEST.environ
same_site = portal.ERP5Site_getAuthCookieSameSite(host=REQUEST_DICT.get('HTTP_HOST', None)) same_site = portal.ERP5Site_getAuthCookieSameSite(host=REQUEST_DICT.get('HTTP_HOST'))
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