Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5_fork
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Eteri
erp5_fork
Commits
4912d34a
Commit
4912d34a
authored
Dec 18, 2011
by
Boris Kocherov
Committed by
Julien Muchembled
Dec 19, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_auto_logout: RFC 6265 expects 'Expires=' field to contain GMT date
parent
13274815
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
bt5/erp5_auto_logout/SkinTemplateItem/portal_skins/erp5_auto_logout/setAuthCookie.xml
...plateItem/portal_skins/erp5_auto_logout/setAuthCookie.xml
+1
-1
bt5/erp5_auto_logout/bt/revision
bt5/erp5_auto_logout/bt/revision
+1
-1
No files found.
bt5/erp5_auto_logout/SkinTemplateItem/portal_skins/erp5_auto_logout/setAuthCookie.xml
View file @
4912d34a
...
...
@@ -183,7 +183,7 @@ if expire_interval not in (\'\', None):\n
expire_time_offset = 0.00069444444444444436 * (expire_interval / 60.0)\n
ac_expires = DateTime() + expire_time_offset\n
ac_renew = DateTime() + expire_time_offset / 2\n
kw[\'expires\'] = ac_expires.rfc822()\n
kw[\'expires\'] = ac_expires.
toZone(\'GMT\').
rfc822()\n
# save next \'__ac\' renew time\n
context.portal_sessions[ac_session_key_pattern %user_name][\'ac_renew\'] = ac_renew.millis()\n
else:\n
...
...
bt5/erp5_auto_logout/bt/revision
View file @
4912d34a
10
\ No newline at end of file
11
\ No newline at end of file
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