Skip to content

Commit

Permalink
Merge pull request #82 from thelamer/master
Browse files Browse the repository at this point in the history
remove logic that sets auth to false to protect custom setups
  • Loading branch information
aptalca authored Aug 22, 2019
2 parents 23a993f + fadfd01 commit cab1920
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 cab1920

Please sign in to comment.