mirror of
https://github.com/linuxserver/docker-transmission.git
synced 2025-11-04 18:45:49 +01:00
remove logic that sets auth to false to protect custom setups without the env
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user