mirror of
https://github.com/open-webui/open-webui
synced 2024-11-16 13:40:55 +00: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…
Reference in New Issue
Block a user