Skip to content

Commit

Permalink
don't source missing files
Browse files Browse the repository at this point in the history
  • Loading branch information
mmguero committed Jan 22, 2020
1 parent e017a1d commit 79c39c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/auth_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ htpasswd -b $HTPASSWD_CREATE_FLAG -B ./htpasswd "$USERNAME" "$PASSWORD" >/dev/nu
# if the admininstrator username has changed, remove the previous administrator username from htpasswd
[[ -n "$USERNAME_PREVIOUS" ]] && [ "$USERNAME" != "$USERNAME_PREVIOUS" ] && sed -i "/^$USERNAME_PREVIOUS:/d" ./htpasswd

source ../.ldap_config_defaults 2>/dev/null || true
[[ -r ../.ldap_config_defaults ]] && source ../.ldap_config_defaults 2>/dev/null || true
LDAP_DEFAULT_PROTO=${LDAP_PROTO:-"ldap://"}
LDAP_DEFAULT_HOST=${LDAP_HOST:-"ds.example.com"}
LDAP_DEFAULT_PORT=${LDAP_PORT:-"3268"}
Expand Down

0 comments on commit 79c39c0

Please sign in to comment.