site_cubicweb.py
changeset 11673 c3a583e38360
parent 11636 2babe3694bed
equal deleted inserted replaced
11672:2018cdf2909e 11673:c3a583e38360
     1 from logilab.common.configuration import REQUIRED
       
     2 
       
     3 import cubicweb.schema
     1 import cubicweb.schema
     4 
     2 
     5 cubicweb.schema.INTERNAL_TYPES.add('CWSession')
     3 cubicweb.schema.INTERNAL_TYPES.add('CWSession')
     6 
     4 
     7 options = (
       
     8     ('pyramid-auth-secret', {
       
     9         'type': 'string',
       
    10         'default': REQUIRED,
       
    11         'help': 'Secret phrase to encrypt the authentication cookie',
       
    12         'group': 'pyramid',
       
    13         'level': 3
       
    14     }),
       
    15     ('pyramid-session-secret', {
       
    16         'type': 'string',
       
    17         'default': REQUIRED,
       
    18         'help': 'Secret phrase to sign the session cookie',
       
    19         'group': 'pyramid',
       
    20         'level': 3
       
    21     }),
       
    22 )