mirror of
https://github.com/linuxserver/docker-code-server.git
synced 2024-11-22 20:15:41 +01:00
fix auth param
This commit is contained in:
parent
a3a6e0f937
commit
c1d35b1473
@ -1,8 +1,9 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
if [ -n "${PASSWORD}" ]; then
|
||||
AUTH="--auth password"
|
||||
AUTH="password"
|
||||
else
|
||||
AUTH="none"
|
||||
echo "starting with no password"
|
||||
fi
|
||||
|
||||
@ -14,5 +15,5 @@ exec \
|
||||
--extensions-dir /config/extensions \
|
||||
--disable-telemetry \
|
||||
--disable-updates \
|
||||
${AUTH} \
|
||||
--auth "${AUTH}" \
|
||||
/config/workspace
|
||||
|
Loading…
Reference in New Issue
Block a user