Register new users always on localhost (needs binding to localhost as well)
This commit is contained in:
@@ -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() {
|
||||
|
Reference in New Issue
Block a user