diff options
author | Erik Johnston <erik@matrix.org> | 2015-04-07 18:16:23 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-04-07 18:16:23 +0100 |
commit | 0775c624698dbe5a837280e729ec488fd0dda28e (patch) | |
tree | c9928165d4d6c5844381771edc63c01194537b19 /synapse | |
parent | Make demo script use --enable-registration (diff) | |
download | synapse-0775c624698dbe5a837280e729ec488fd0dda28e.tar.xz |
Fix --enable-registration flag to work if you don't give a value
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/config/registration.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/config/registration.py b/synapse/config/registration.py index a6a2d2c5e1..d5c8f4bf7b 100644 --- a/synapse/config/registration.py +++ b/synapse/config/registration.py @@ -40,7 +40,7 @@ class RegistrationConfig(Config): reg_group.add_argument( "--enable-registration", - const=False, + const=True, default=False, nargs='?', help="Enable registration for new users.", |