equal
deleted
inserted
replaced
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 ) |
|