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
90503be2
Unverified
Commit
90503be2
authored
May 08, 2024
by
Timothy Jaeryang Baek
Committed by
GitHub
May 08, 2024
Browse files
Merge pull request #2118 from open-webui/dev
fix
parents
734e62b8
26ee547f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
17 deletions
+15
-17
backend/apps/web/routers/auths.py
backend/apps/web/routers/auths.py
+15
-17
No files found.
backend/apps/web/routers/auths.py
View file @
90503be2
...
...
@@ -118,9 +118,7 @@ async def signin(request: Request, form_data: SigninForm):
),
)
user
=
Auths
.
authenticate_user_by_trusted_header
(
trusted_email
)
else
:
if
WEBUI_AUTH
==
False
:
elif
WEBUI_AUTH
==
False
:
admin_email
=
"admin@localhost"
admin_password
=
"admin"
...
...
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