mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-30 17:26:14 -05:00
enable registration in the demo servers
This commit is contained in:
parent
4f11a5b2b5
commit
2eb91e6694
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user