summary refs log tree commit diff
path: root/demo
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2015-08-12 16:53:30 +0100
committerMark Haines <mark.haines@matrix.org>2015-08-12 16:53:30 +0100
commit2eb91e6694f43854c28fe33326cb2e8be4ac69c5 (patch)
treec4d9ec6579a34cb492411dbefc5fcdbb8c74caf6 /demo
parentMerge pull request #220 from matrix-org/markjh/generate_keys (diff)
downloadsynapse-2eb91e6694f43854c28fe33326cb2e8be4ac69c5.tar.xz
enable registration in the demo servers
Diffstat (limited to '')
-rwxr-xr-xdemo/start.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/demo/start.sh b/demo/start.sh
index b5dea5e176..572dbfab0b 100755
--- a/demo/start.sh
+++ b/demo/start.sh
@@ -23,7 +23,6 @@ for port in 8080 8081 8082; do
     #rm $DIR/etc/$port.config
     python -m synapse.app.homeserver \
         --generate-config \
-        --enable_registration \
         -H "localhost:$https_port" \
         --config-path "$DIR/etc/$port.config" \
 
@@ -36,6 +35,8 @@ for port in 8080 8081 8082; do
         fi
     fi
 
+    perl -p -i -e 's/^enable_registration:.*/enable_registration: true/g' $DIR/etc/$port.config
+
     python -m synapse.app.homeserver \
         --config-path "$DIR/etc/$port.config" \
         -D \