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

Matrix user admin option

parent b7c4dbdb
No related branches found
No related tags found
No related merge requests found
......@@ -444,7 +444,9 @@ function add_user_matrix {
read_config_param MATRIX_DOMAIN_NAME
if [[ "$new_username" == "$MY_USERNAME" ]]; then
add_user_matrix_admin='-a'
add_user_matrix_admin='--admin'
else
add_user_matrix_admin='--no-admin'
fi
"${PROJECT_NAME}-pass" -u "$new_username" -a matrix -p "$new_user_password"
......
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