misc/migration/3.7.5_Any.py
author David Douard <david.douard@logilab.fr>
Tue, 27 Nov 2012 12:24:56 +0100
branchstable
changeset 8602 d066ba3bb07d
parent 5326 0d9054eb3bd1
permissions -rw-r--r--
[web] add a Forbidden exception This is similar to the Unauthorized exception, but generates a 403 error instead of a 401 (Unauthorized)

if versions_map['cubicweb'][0] == (3, 7, 4):
    config['http-session-time'] *= 60
    config['cleanup-session-time'] *= 60
    config['cleanup-anonymous-session-time'] *= 60