Skip to content

Commit

Permalink
Fix environment variable COMANAGE_REGISTRY_EMAIL_ACCOUNT_PASSWORD (CO…
Browse files Browse the repository at this point in the history
…-2014)
  • Loading branch information
skoranda committed Aug 19, 2020
1 parent 17886f2 commit ff01f9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions comanage-registry-base/comanage_utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -434,9 +434,9 @@ EOF
php_string+="'username' => '${COMANAGE_REGISTRY_EMAIL_ACCOUNT}',"
fi

if [[ -n "${COMANAGE_REGISTRY_EMAIL_PASSWORD}" ]]; then
if [[ -n "${COMANAGE_REGISTRY_EMAIL_ACCOUNT_PASSWORD}" ]]; then
php_string+=$'\n\t\t'
php_string+="'password' => '${COMANAGE_REGISTRY_EMAIL_PASSWORD}',"
php_string+="'password' => '${COMANAGE_REGISTRY_EMAIL_ACCOUNT_PASSWORD}',"
fi

php_string+=$'\n\t\t);\n\n}\n';
Expand Down

0 comments on commit ff01f9b

Please sign in to comment.