Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
63ffdb38
Commit
63ffdb38
authored
Jul 23, 2024
by
Dillon
Browse files
Added and set enable_username_password_login to the get_app_config function
parent
f9289d30
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
backend/main.py
backend/main.py
+1
-0
No files found.
backend/main.py
View file @
63ffdb38
...
@@ -1995,6 +1995,7 @@ async def get_app_config():
...
@@ -1995,6 +1995,7 @@ async def get_app_config():
"auth"
:
WEBUI_AUTH
,
"auth"
:
WEBUI_AUTH
,
"auth_trusted_header"
:
bool
(
webui_app
.
state
.
AUTH_TRUSTED_EMAIL_HEADER
),
"auth_trusted_header"
:
bool
(
webui_app
.
state
.
AUTH_TRUSTED_EMAIL_HEADER
),
"enable_signup"
:
webui_app
.
state
.
config
.
ENABLE_SIGNUP
,
"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_web_search"
:
rag_app
.
state
.
config
.
ENABLE_RAG_WEB_SEARCH
,
"enable_image_generation"
:
images_app
.
state
.
config
.
ENABLED
,
"enable_image_generation"
:
images_app
.
state
.
config
.
ENABLED
,
"enable_community_sharing"
:
webui_app
.
state
.
config
.
ENABLE_COMMUNITY_SHARING
,
"enable_community_sharing"
:
webui_app
.
state
.
config
.
ENABLE_COMMUNITY_SHARING
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment