Disable registration by default

This commit is contained in:
Erik Johnston 2015-03-13 12:59:45 +00:00
parent 58247c8b4b
commit 58367a9da2

View file

@ -31,3 +31,7 @@ class RegistrationConfig(Config):
action='store_true', action='store_true',
help="Disable registration of new users." help="Disable registration of new users."
) )
@classmethod
def generate_config(cls, args, config_dir_path):
args.disable_registration = True