Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Romain Courteaud
erp5
Commits
8cffae81
Commit
8cffae81
authored
Jan 23, 2020
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_core: rename
parent
a5b56fc6
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
2 deletions
+2
-2
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_auto_logout/ERP5Site_getAuthCookieSameSite.py
..._skins/erp5_auto_logout/ERP5Site_getAuthCookieSameSite.py
+0
-0
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_auto_logout/ERP5Site_getAuthCookieSameSite.xml
...skins/erp5_auto_logout/ERP5Site_getAuthCookieSameSite.xml
+1
-1
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_auto_logout/setAuthCookie.py
...mplateItem/portal_skins/erp5_auto_logout/setAuthCookie.py
+1
-1
No files found.
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_auto_logout/ERP5Site_getSameSite.py
→
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_auto_logout/ERP5Site_get
AuthCookie
SameSite.py
View file @
8cffae81
File moved
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_auto_logout/ERP5Site_getSameSite.xml
→
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_auto_logout/ERP5Site_get
AuthCookie
SameSite.xml
View file @
8cffae81
...
@@ -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_get
AuthCookie
SameSite
</string>
</value>
</item>
</item>
</dictionary>
</dictionary>
</pickle>
</pickle>
...
...
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_auto_logout/setAuthCookie.py
View file @
8cffae81
...
@@ -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_get
AuthCookie
SameSite
(
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment