site_cubicweb.py
author David Douard <david.douard@logilab.fr>
Thu, 30 Jul 2015 09:51:39 +0200
changeset 11660 79a9dc79beb2
parent 11636 2babe3694bed
child 11673 c3a583e38360
permissions -rw-r--r--
Added tag 0.3.1, debian/0.3.1-1 for changeset 9d82848e82a7

from logilab.common.configuration import REQUIRED

import cubicweb.schema

cubicweb.schema.INTERNAL_TYPES.add('CWSession')

options = (
    ('pyramid-auth-secret', {
        'type': 'string',
        'default': REQUIRED,
        'help': 'Secret phrase to encrypt the authentication cookie',
        'group': 'pyramid',
        'level': 3
    }),
    ('pyramid-session-secret', {
        'type': 'string',
        'default': REQUIRED,
        'help': 'Secret phrase to sign the session cookie',
        'group': 'pyramid',
        'level': 3
    }),
)