From a12b5ffab3d4f0aaa058723bd5e84943c9ff5a79 Mon Sep 17 00:00:00 2001 From: Han Cen Date: Sat, 2 Mar 2024 15:38:14 +0800 Subject: [PATCH] Fix enable signup env --- backend/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/config.py b/backend/config.py index effcd2462..df24b97e4 100644 --- a/backend/config.py +++ b/backend/config.py @@ -226,7 +226,7 @@ if OPENAI_API_BASE_URL == "": # WEBUI #################################### -ENABLE_SIGNUP = os.environ.get("ENABLE_SIGNUP", True) +ENABLE_SIGNUP = os.environ.get("ENABLE_SIGNUP", "True").lower() == "true" DEFAULT_MODELS = os.environ.get("DEFAULT_MODELS", None)