summary refs log tree commit diff
path: root/synapse/config
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-04-07 18:17:22 +0100
committerErik Johnston <erik@matrix.org>2015-04-07 18:17:22 +0100
commitd5e7e6b9b6f0615a26a0156bb20d5b7f444d58a1 (patch)
treeaad462a125dd20124fcaae89a8fb015eb7bb3af0 /synapse/config
parentMerge branch 'develop' of github.com:matrix-org/synapse into mysql (diff)
parentFix --enable-registration flag to work if you don't give a value (diff)
downloadsynapse-d5e7e6b9b6f0615a26a0156bb20d5b7f444d58a1.tar.xz
Merge branch 'develop' of github.com:matrix-org/synapse into mysql
Diffstat (limited to 'synapse/config')
-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 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.",