Selaa lähdekoodia

update password store after nextcloud password change

Bob Mottram 8 vuotta sitten
vanhempi
commit
97c48ffa47
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1
    0
      src/freedombone-app-nextcloud

+ 1
- 0
src/freedombone-app-nextcloud Näytä tiedosto

@@ -70,6 +70,7 @@ function change_password_nextcloud {
70 70
 
71 71
     export OC_PASS="$2"
72 72
     su -s /bin/sh www-data -c "php occ user:resetpassword --password-from-env $curr_username"
73
+    ${PROJECT_NAME}-pass -u $curr_username -a nextcloud -p "$OC_PASS"
73 74
     export OC_PASS=""
74 75
 }
75 76