site_cubicweb.py
changeset 11636 2babe3694bed
parent 11635 fc4ecec311f4
child 11673 c3a583e38360
equal deleted inserted replaced
11635:fc4ecec311f4 11636:2babe3694bed
     3 import cubicweb.schema
     3 import cubicweb.schema
     4 
     4 
     5 cubicweb.schema.INTERNAL_TYPES.add('CWSession')
     5 cubicweb.schema.INTERNAL_TYPES.add('CWSession')
     6 
     6 
     7 options = (
     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     }),
     8     ('pyramid-session-secret', {
    15     ('pyramid-session-secret', {
     9         'type': 'string',
    16         'type': 'string',
    10         'default': REQUIRED,
    17         'default': REQUIRED,
    11         'help': 'Secret phrase to sign the session cookie',
    18         'help': 'Secret phrase to sign the session cookie',
    12         'group': 'pyramid',
    19         'group': 'pyramid',