Skip to content
Snippets Groups Projects
Commit 0775c624 authored by Erik Johnston's avatar Erik Johnston
Browse files

Fix --enable-registration flag to work if you don't give a value

parent a2a93a4f
No related branches found
No related tags found
No related merge requests found
......@@ -33,8 +33,8 @@ for port in 8080 8081 8082; do
--manhole $((port + 1000)) \
--tls-dh-params-path "demo/demo.tls.dh" \
--media-store-path "demo/media_store.$port" \
$PARAMS $SYNAPSE_PARAMS \
--enable-registration
$PARAMS $SYNAPSE_PARAMS \
--enable-registration
python -m synapse.app.homeserver \
--config-path "demo/etc/$port.config" \
......
......@@ -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.",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment