feat: support webui_auth false

#929
This commit is contained in:
Timothy J. Baek committed 2024-05-08 08:40:18 -07:00
1 parent 0d633c0d17
commit 01472c071b
5 files changed
+23 -7

No files matched your search

+2
View File
@@ -44,6 +44,7 @@ from config import (
CONFIG_DATA,
WEBUI_NAME,
WEBUI_URL,
WEBUI_AUTH,
ENV,
VERSION,
CHANGELOG,
@@ -240,6 +241,7 @@ async def get_app_config():
"status": True,
"name": WEBUI_NAME,
"version": VERSION,
"auth": WEBUI_AUTH,
"default_locale": default_locale,
"images": images_app.state.ENABLED,
"default_models": webui_app.state.DEFAULT_MODELS,