feat: docker for multi-user support updated

This commit is contained in:
Timothy J. Baek 2023-11-19 10:58:49 -08:00
parent dedb42582b
commit 99e8816e73
3 changed files with 5 additions and 5 deletions

View file

@ -55,7 +55,3 @@ if WEBUI_AUTH:
####################################
WEBUI_JWT_SECRET_KEY = os.environ.get("WEBUI_JWT_SECRET_KEY", "t0p-s3cr3t")
if ENV == "prod":
if WEBUI_JWT_SECRET_KEY == "":
WEBUI_JWT_SECRET_KEY = str(b64encode(token_bytes(32)).decode())