From 7e49facd4d62f95f62bd8cf41aecae4665fac537 Mon Sep 17 00:00:00 2001 From: Martin Winkler Date: Fri, 25 Dec 2020 01:32:26 +0100 Subject: [PATCH] Register new users always on localhost (needs binding to localhost as well) --- seqs/matrix.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/seqs/matrix.sh b/seqs/matrix.sh index efefd5a..659bfcf 100755 --- a/seqs/matrix.sh +++ b/seqs/matrix.sh @@ -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() {