Register new users always on localhost (needs binding to localhost as well)

This commit is contained in:
2020-12-25 01:32:26 +01:00
parent 8d96d7e38a
commit 7e49facd4d

View File

@@ -5,7 +5,7 @@ toolDeps="build-essential python3-dev libffi-dev python3-pip python3-setuptools
toolUser="synapse"
toolGroup="synapse"
synapseHashTool="env/bin/hash_password"
toolUrlLocal="http://localhost:8008"
# Filled by configuration
toolConfig=
toolUrl=
@@ -169,7 +169,7 @@ step_14() {
step_16_info() { echo "Create new user"; }
step_16_alias() { ALIAS="adduser"; }
step_16() {
exe /opt/synapse/env/bin/register_new_matrix_user -c "$MATRIX_HOME/homeserver.yaml" $toolUrl
exe /opt/synapse/env/bin/register_new_matrix_user -c "$MATRIX_HOME/homeserver.yaml" $toolUrlLocal
}
step_18_info() {