Don't include url when adding user
This commit is contained in:
parent
51ab10094e
commit
f50846d0d3
|
@ -252,12 +252,8 @@ function add_user_matrix {
|
||||||
if [ -f /var/lib/matrix/.synapse/bin/activate ]; then
|
if [ -f /var/lib/matrix/.synapse/bin/activate ]; then
|
||||||
source /var/lib/matrix/.synapse/bin/activate
|
source /var/lib/matrix/.synapse/bin/activate
|
||||||
fi
|
fi
|
||||||
register_new_matrix_user -c ${MATRIX_DATA_DIR}/homeserver.yaml https://${DEFAULT_DOMAIN_NAME}/matrix -u "${new_username}" -p "${new_user_password}" -a
|
register_new_matrix_user -c ${MATRIX_DATA_DIR}/homeserver.yaml -u "${new_username}" -p "${new_user_password}" -a
|
||||||
if [ ! "$?" = "0" ]; then
|
echo "0"
|
||||||
echo '1'
|
|
||||||
else
|
|
||||||
echo "0"
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function install_interactive_matrix {
|
function install_interactive_matrix {
|
||||||
|
|
Loading…
Reference in New Issue