mirror of
https://github.com/linuxserver/docker-transmission.git
synced 2025-11-05 11:05:40 +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-authentication-required/c\ "rpc-authentication-required": true,' /config/settings.json
|
||||||
sed -i "/rpc-username/c\ \"rpc-username\": \"$USER\"," /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
|
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
|
fi
|
||||||
|
|
||||||
# permissions
|
# permissions
|
||||||
|
|||||||
Reference in New Issue
Block a user