remove logic that sets auth to false to protect custom setups without the env

This commit is contained in:
thelamer
2019-08-21 20:00:13 -07:00
parent 23a993fa3e
commit fadfd01b4f

View File

@@ -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