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

Change password during user creation if user exists

parent 4dadd68b
No related branches found
No related tags found
No related merge requests found
......@@ -62,6 +62,7 @@ MATRIX_SHORT_DESCRIPTION=$'Chat system'
MATRIX_DESCRIPTION=$'Chat system'
MATRIX_MOBILE_APP_URL='https://f-droid.org/packages/im.vector.alpha'
# used to enable retries for user creation during install
matrix_is_installing=
matrix_variables=(ONION_ONLY
......@@ -498,7 +499,8 @@ function add_user_matrix {
echo "1"
return
else
create_matrix_user_password_script
/usr/bin/matrix-passwd "${new_username}" "${new_user_password}"
fi
fi
......
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