From 97c48ffa47678ef5ef5c5542058939ef0f5b69a0 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 9 May 2017 12:09:52 +0100 Subject: [PATCH] update password store after nextcloud password change --- src/freedombone-app-nextcloud | 1 + 1 file changed, 1 insertion(+) diff --git a/src/freedombone-app-nextcloud b/src/freedombone-app-nextcloud index aa901b65..2ec250db 100755 --- a/src/freedombone-app-nextcloud +++ b/src/freedombone-app-nextcloud @@ -70,6 +70,7 @@ function change_password_nextcloud { export OC_PASS="$2" su -s /bin/sh www-data -c "php occ user:resetpassword --password-from-env $curr_username" + ${PROJECT_NAME}-pass -u $curr_username -a nextcloud -p "$OC_PASS" export OC_PASS="" }