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
709b56bc
"src/include/blockwise_gemm.hpp" did not exist on "1d9b9701866b4089205979e16ef329020bad4dd5"
Commit
709b56bc
authored
Jul 23, 2024
by
Dillon
Browse files
imported and added new ENABLE_USERNAME_PASSWORD_LOGIN environment variable
parent
82079e64
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
backend/apps/webui/main.py
backend/apps/webui/main.py
+2
-0
No files found.
backend/apps/webui/main.py
View file @
709b56bc
...
...
@@ -35,6 +35,7 @@ from config import (
DEFAULT_PROMPT_SUGGESTIONS
,
DEFAULT_USER_ROLE
,
ENABLE_SIGNUP
,
ENABLE_USERNAME_PASSWORD_LOGIN
,
USER_PERMISSIONS
,
WEBHOOK_URL
,
WEBUI_AUTH_TRUSTED_EMAIL_HEADER
,
...
...
@@ -64,6 +65,7 @@ origins = ["*"]
app
.
state
.
config
=
AppConfig
()
app
.
state
.
config
.
ENABLE_SIGNUP
=
ENABLE_SIGNUP
app
.
state
.
config
.
ENABLE_USERNAME_PASSWORD_LOGIN
=
ENABLE_USERNAME_PASSWORD_LOGIN
app
.
state
.
config
.
JWT_EXPIRES_IN
=
JWT_EXPIRES_IN
app
.
state
.
AUTH_TRUSTED_EMAIL_HEADER
=
WEBUI_AUTH_TRUSTED_EMAIL_HEADER
app
.
state
.
AUTH_TRUSTED_NAME_HEADER
=
WEBUI_AUTH_TRUSTED_NAME_HEADER
...
...
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