# HG changeset patch # User Sylvain Thénault # Date 1258989418 -3600 # Node ID a26f50cb7e704f6f7ddabada94079c4f4acf1ade # Parent 78a2c8e7eef581610d5458245bbb11fa3af2c08c password is required, else we get obscure validation failure when inserting the admin user into cw diff -r 78a2c8e7eef5 -r a26f50cb7e70 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, }),