From 63ffdb38aa3a969553c0fdb97e16bd1bdadd8275 Mon Sep 17 00:00:00 2001 From: Dillon Date: Tue, 23 Jul 2024 22:22:09 -0400 Subject: [PATCH] Added and set enable_username_password_login to the get_app_config function --- backend/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/main.py b/backend/main.py index 62f07a868..218221e59 100644 --- a/backend/main.py +++ b/backend/main.py @@ -1995,6 +1995,7 @@ async def get_app_config(): "auth": WEBUI_AUTH, "auth_trusted_header": bool(webui_app.state.AUTH_TRUSTED_EMAIL_HEADER), "enable_signup": webui_app.state.config.ENABLE_SIGNUP, + "enable_username_password_login": webui_app.state.config.ENABLE_USERNAME_PASSWORD_LOGIN, "enable_web_search": rag_app.state.config.ENABLE_RAG_WEB_SEARCH, "enable_image_generation": images_app.state.config.ENABLED, "enable_community_sharing": webui_app.state.config.ENABLE_COMMUNITY_SHARING,