fix auth param

This commit is contained in:
aptalca 2019-10-24 16:28:48 -04:00 committed by Ryan Kuba
parent a3a6e0f937
commit c1d35b1473

View File

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