From 1031638d8296fdd6b8a7e6e5d6495a5f8d111f8c Mon Sep 17 00:00:00 2001 From: Tim Farrell Date: Thu, 1 Feb 2024 21:04:10 -0600 Subject: [PATCH] Maintain backward compatibility with WEBUI_JWT_SECRET_KEY for the time being --- backend/start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/start.sh b/backend/start.sh index 03fe792a..ac5d48a7 100755 --- a/backend/start.sh +++ b/backend/start.sh @@ -6,7 +6,7 @@ cd "$SCRIPT_DIR" || exit KEY_FILE=.webui_secret_key PORT="${PORT:-8080}" -if ["$WEBUI_SECRET_KEY" = ""]; then +if ["$WEBUI_SECRET_KEY $WEBUI_JWT_SECRET_KEY" = " "]; then echo No WEBUI_SECRET_KEY provided if ! [ -e "$KEY_FILE" ]; then