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

Clear nextcloud password after use

parent acf1473a
No related branches found
No related tags found
No related merge requests found
......@@ -146,6 +146,7 @@ function add_user_nextcloud {
cd /var/www/$NEXTCLOUD_DOMAIN_NAME/htdocs || exit 36
${NEXTCLOUD_COMMAND} user:add --password-from-env --display-name="${new_username}" "${new_username}"
export OC_PASS=
"${PROJECT_NAME}-pass" -u "$new_username" -a nextcloud -p "$new_user_password"
echo '0'
}
......
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