mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Copilot
2 days ago eb5b25995b270467d290b3506e9fb6961d6b5a6e
fix: use ROOT_PASSWORD with default fallback instead of PASSWORD in run.sh (#635)

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: vharseko <6818498+vharseko@users.noreply.github.com>
1 files modified
3 ■■■■ changed files
opendj-packages/opendj-docker/run.sh 3 ●●●● patch | view | raw | blame | history
opendj-packages/opendj-docker/run.sh
@@ -42,8 +42,7 @@
export BASE_DN=${BASE_DN:-"dc=example,dc=com"}
echo "BASE DN is ${BASE_DN}"
export PASSWORD=${ROOT_PASSWORD:-password}
echo "Password set to $PASSWORD"
export ROOT_PASSWORD=${ROOT_PASSWORD:-password}
BOOTSTRAP=${BOOTSTRAP:-/opt/opendj/bootstrap/setup.sh}
echo "Running $BOOTSTRAP"