Skip to content
Snippets Groups Projects
Commit f50846d0 authored by Bob Mottram's avatar Bob Mottram
Browse files

Don't include url when adding user

parent 51ab1009
No related branches found
No related tags found
No related merge requests found
......@@ -252,12 +252,8 @@ function add_user_matrix {
if [ -f /var/lib/matrix/.synapse/bin/activate ]; then
source /var/lib/matrix/.synapse/bin/activate
fi
register_new_matrix_user -c ${MATRIX_DATA_DIR}/homeserver.yaml https://${DEFAULT_DOMAIN_NAME}/matrix -u "${new_username}" -p "${new_user_password}" -a
if [ ! "$?" = "0" ]; then
echo '1'
else
echo "0"
fi
register_new_matrix_user -c ${MATRIX_DATA_DIR}/homeserver.yaml -u "${new_username}" -p "${new_user_password}" -a
echo "0"
}
function install_interactive_matrix {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment