Skip to content

Commit

Permalink
remove logic that sets auth to false to protect custom setups without…
Browse files Browse the repository at this point in the history
… the env
  • Loading branch information
thelamer committed Aug 22, 2019
1 parent 23a993f commit fadfd01
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions root/etc/cont-init.d/20-config
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ if [ ! -z "$USER" ] && [ ! -z "$PASS" ]; then
sed -i '/rpc-authentication-required/c\ "rpc-authentication-required": true,' /config/settings.json
sed -i "/rpc-username/c\ \"rpc-username\": \"$USER\"," /config/settings.json
sed -i "/rpc-password/c\ \"rpc-password\": \"$PASS\"," /config/settings.json
else
sed -i '/rpc-authentication-required/c\ "rpc-authentication-required": false,' /config/settings.json
fi

# permissions
Expand Down

0 comments on commit fadfd01

Please sign in to comment.