Add the 'pyramid-auth-secret' option to all-in-one.conf
authorChristophe de Vienne <christophe@unlish.com>
Thu, 18 Sep 2014 12:03:25 +0200
changeset 11636 2babe3694bed
parent 11635 fc4ecec311f4
child 11637 a9cde6a3394c
Add the 'pyramid-auth-secret' option to all-in-one.conf
site_cubicweb.py
--- a/site_cubicweb.py	Thu Sep 18 11:17:57 2014 +0200
+++ b/site_cubicweb.py	Thu Sep 18 12:03:25 2014 +0200
@@ -5,6 +5,13 @@
 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,