Commits

Ben Bangert committed 3459395

Update production ini as well

Comments (0)

Files changed (1)

akhet/paster_templates/akhet/production.ini_tmpl

 cache.long_term.expire = 3600
 mako.directories = {{package}}:templates
 mako.strict_undefined = true
+{{if crypto}}
+session.type = cookie
+session.lock_dir = %(here)s/data/sessions/lock
+{{else}}
 session.type = file
 session.data_dir = %(here)s/data/sessions/data
 session.lock_dir = %(here)s/data/sessions/lock
+session.secret = {{random_string}}
+{{endif}}
 session.key = {{project}}
-session.secret = {{random_string}}
 {{if crypto}}
 session.encrypt_key = {{random_string}}
 session.validate_key = {{random_string}}