summary refs log tree commit diff
path: root/synapse/config/registration.py
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2015-05-01 13:54:38 +0100
committerMark Haines <mark.haines@matrix.org>2015-05-01 13:54:38 +0100
commit46a65c282fc92d2c783af84423ef4a0690a2cf48 (patch)
treeae09151860643c597375a918efb081736ae90372 /synapse/config/registration.py
parentAllow "manhole" to be ommited from the config (diff)
downloadsynapse-46a65c282fc92d2c783af84423ef4a0690a2cf48.tar.xz
Allow generate-config to run against an existing config file to generate default keys
Diffstat (limited to 'synapse/config/registration.py')
-rw-r--r--synapse/config/registration.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/config/registration.py b/synapse/config/registration.py
index 971965a5da..b39989a87f 100644
--- a/synapse/config/registration.py
+++ b/synapse/config/registration.py
@@ -49,7 +49,7 @@ class RegistrationConfig(Config):
     def add_arguments(self, parser):
         reg_group = parser.add_argument_group("registration")
         reg_group.add_argument(
-            "--enable-registration", action="store_true",
+            "--enable-registration", action="store_true", default=None,
             help="Enable registration for new users."
         )