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

Debug files

parent 2313b2bb
No related branches found
No related tags found
No related merge requests found
......@@ -427,11 +427,13 @@ function add_user_matrix {
"${PROJECT_NAME}-pass" -u "$new_username" -a matrix -p "$new_user_password"
if [[ "$new_username" != "$MY_USERNAME" ]]; then
echo "register_new_matrix_user -c ${MATRIX_DATA_DIR}/homeserver.yaml -u \"${new_username}\" -p \"${new_user_password}\" http://localhost:${MATRIX_PORT}" > /root/matrix_user.txt
if ! register_new_matrix_user -c ${MATRIX_DATA_DIR}/homeserver.yaml -u "${new_username}" -p "${new_user_password}" http://localhost:${MATRIX_PORT}; then
echo "1"
return
fi
else
echo "register_new_matrix_user -c ${MATRIX_DATA_DIR}/homeserver.yaml -u \"${new_username}\" -p \"${new_user_password}\" -a http://localhost:${MATRIX_PORT}" > /root/matrix_admin.txt
if ! register_new_matrix_user -c ${MATRIX_DATA_DIR}/homeserver.yaml -u "${new_username}" -p "${new_user_password}" -a http://localhost:${MATRIX_PORT}; then
echo "1"
return
......
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