Boris Kocherov
2011-12-17 22:55:26 UTC
---
.../erp5_auto_logout/setAuthCookie.xml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/bt5/erp5_auto_logout/SkinTemplateItem/portal_skins/erp5_auto_logout/setAuthCookie.xml b/bt5/erp5_auto_logout/SkinTemplateItem/portal_skins/erp5_auto_logout/setAuthCookie.xml
index dd68c3a..e686681 100644
--- a/bt5/erp5_auto_logout/SkinTemplateItem/portal_skins/erp5_auto_logout/setAuthCookie.xml
+++ b/bt5/erp5_auto_logout/SkinTemplateItem/portal_skins/erp5_auto_logout/setAuthCookie.xml
@@ -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
.../erp5_auto_logout/setAuthCookie.xml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/bt5/erp5_auto_logout/SkinTemplateItem/portal_skins/erp5_auto_logout/setAuthCookie.xml b/bt5/erp5_auto_logout/SkinTemplateItem/portal_skins/erp5_auto_logout/setAuthCookie.xml
index dd68c3a..e686681 100644
--- a/bt5/erp5_auto_logout/SkinTemplateItem/portal_skins/erp5_auto_logout/setAuthCookie.xml
+++ b/bt5/erp5_auto_logout/SkinTemplateItem/portal_skins/erp5_auto_logout/setAuthCookie.xml
@@ -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
--
1.7.8.rc3
1.7.8.rc3