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 dd68c3a6e01cc216dd900f09d277b6248b835541..e686681bdfccfb82a6984c68e9d3dcfb77953b41 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 diff --git a/bt5/erp5_auto_logout/bt/revision b/bt5/erp5_auto_logout/bt/revision index 9a037142aa3c1b4c490e1a38251620f113465330..9d607966b721abde8931ddd052181fae905db503 100644 --- a/bt5/erp5_auto_logout/bt/revision +++ b/bt5/erp5_auto_logout/bt/revision @@ -1 +1 @@ -10 \ No newline at end of file +11 \ No newline at end of file