password is required, else we get obscure validation failure when inserting the admin user into cw stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 23 Nov 2009 16:16:58 +0100
branchstable
changeset 3900 a26f50cb7e70
parent 3899 78a2c8e7eef5
child 3901 d197c07dcfe5
password is required, else we get obscure validation failure when inserting the admin user into cw
server/serverconfig.py
--- a/server/serverconfig.py	Mon Nov 23 14:56:44 2009 +0100
+++ b/server/serverconfig.py	Mon Nov 23 16:16:58 2009 +0100
@@ -10,7 +10,7 @@
 import os
 from os.path import join, exists
 
-from logilab.common.configuration import Method, Configuration, \
+from logilab.common.configuration import REQUIRED, Method, Configuration, \
      ini_format_section
 from logilab.common.decorators import wproperty, cached, clear_cache
 
@@ -28,6 +28,7 @@
                'inputlevel': 0,
                }),
     ('password', {'type' : 'password',
+                  'default': REQUIRED,
                   'help': "cubicweb manager account's password",
                   'inputlevel': 0,
                   }),