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

Use existing user password

parent ea5cdff4
No related branches found
No related tags found
No related merge requests found
......@@ -599,7 +599,7 @@ function add_users_after_install {
if [[ "$USERNAME" != "$ADMIN_USERNAME" ]]; then
if [[ $(user_added_to_app "${USERNAME}" "${app_name}") == "0" ]]; then
#valstr=$"Login for user ${USERNAME}="
app_password="$(create_password ${MINIMUM_PASSWORD_LENGTH})"
app_password=$("${PROJECT_NAME}-pass" -u "$USERNAME" -a login)
"add_user_${app_name}" "${USERNAME}" "${app_password}"
echo "${app_name}_${USERNAME}" >> "$APP_USERS_FILE"
fi
......
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