site_cubicweb.py
author Christophe de Vienne <christophe@unlish.com>
Thu, 23 Oct 2014 17:30:15 +0200
changeset 11643 63d2c01fcb94
parent 11636 2babe3694bed
child 11673 c3a583e38360
permissions -rw-r--r--
Added tag cubicweb-pyramid-version-0.1.0, cubicweb-pyramid-debian-version-0.1.0-1 for changeset 3defbb0f147a

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