Commit 01c2cd13 authored by Chris McDonough's avatar Chris McDonough

Allow session timeout value to be 0 in zope.conf.

parent fdd65b88
......@@ -397,7 +397,7 @@ class AppInitializer:
delNotification = delnotify,
limit=limit)
if timeout_spec:
if timeout_spec is not None:
toc = TransientObjectContainer('session_data',
'Session Data Container',
timeout_mins = timeout_spec,
......
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