mirror of
https://git.mirrors.martin98.com/https://github.com/open-webui/open-webui
synced 2025-08-16 20:15:55 +08:00
Fix enable signup env
This commit is contained in:
parent
6c70d0f770
commit
a12b5ffab3
@ -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)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user