site_cubicweb.py
author Julien Cristau <julien.cristau@logilab.fr>
Wed, 23 Dec 2015 11:53:04 +0100
changeset 11669 92a6abe992ac
parent 11636 2babe3694bed
child 11673 c3a583e38360
permissions -rw-r--r--
Added tag 0.3.2, debian/0.3.2-1 for changeset ab4c5509407f

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
    }),
)