pyramid_cubicweb/defaults.py
changeset 11509 ca3412269cd1
parent 11507 4d7286f079e1
child 11519 92423d03ef25
--- a/pyramid_cubicweb/defaults.py	Thu Sep 18 15:07:02 2014 +0200
+++ b/pyramid_cubicweb/defaults.py	Thu Sep 18 16:51:55 2014 +0200
@@ -28,7 +28,8 @@
 
     config.set_authentication_policy(
         AuthTktAuthenticationPolicy(
-            secret, callback=get_principals, hashalg='sha512'))
+            secret, callback=get_principals, hashalg='sha512',
+            reissue_time=3600))
     config.set_authorization_policy(ACLAuthorizationPolicy())
 
     config.include('pyramid_cubicweb.login')