Commits

Ben Bangert committed 2d0fdc2

More crypto tweaks

  • Participants
  • Parent commits b8d5698

Comments (0)

Files changed (1)

File akhet/paster_templates/akhet/development.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_1}}
 session.validate_key = {{random_2}}