Commit 1031638d authored by Tim Farrell's avatar Tim Farrell
Browse files

Maintain backward compatibility with WEBUI_JWT_SECRET_KEY for the time being

parent e2d481d9
...@@ -6,7 +6,7 @@ cd "$SCRIPT_DIR" || exit ...@@ -6,7 +6,7 @@ cd "$SCRIPT_DIR" || exit
KEY_FILE=.webui_secret_key KEY_FILE=.webui_secret_key
PORT="${PORT:-8080}" PORT="${PORT:-8080}"
if ["$WEBUI_SECRET_KEY" = ""]; then if ["$WEBUI_SECRET_KEY $WEBUI_JWT_SECRET_KEY" = " "]; then
echo No WEBUI_SECRET_KEY provided echo No WEBUI_SECRET_KEY provided
if ! [ -e "$KEY_FILE" ]; then if ! [ -e "$KEY_FILE" ]; then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment