From c1d35b147362d5cf865975d18bac1c32405c6a07 Mon Sep 17 00:00:00 2001 From: aptalca Date: Thu, 24 Oct 2019 16:28:48 -0400 Subject: [PATCH] fix auth param --- root/etc/services.d/code-server/run | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/root/etc/services.d/code-server/run b/root/etc/services.d/code-server/run index 3703dbb..7189c9f 100644 --- a/root/etc/services.d/code-server/run +++ b/root/etc/services.d/code-server/run @@ -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