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

update password store after nextcloud password change

parent a3025cc1
No related branches found
No related tags found
No related merge requests found
......@@ -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=""
}
......
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