From 9ce6655ec183b70e08055ede0ccc698c193729b1 Mon Sep 17 00:00:00 2001 From: Bob Mottram <bob@robotics.uk.to> Date: Wed, 2 Jan 2019 19:57:15 +0000 Subject: [PATCH] Change password during user creation if user exists --- src/freedombone-app-matrix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/freedombone-app-matrix b/src/freedombone-app-matrix index ff09ab4c8..12e63141e 100755 --- a/src/freedombone-app-matrix +++ b/src/freedombone-app-matrix @@ -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 -- GitLab