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
feba50f6
Commit
feba50f6
authored
Jun 27, 2024
by
Timothy J. Baek
Browse files
fix: WEBUI_AUTH
parent
1dd54ced
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
backend/apps/webui/routers/auths.py
backend/apps/webui/routers/auths.py
+1
-0
No files found.
backend/apps/webui/routers/auths.py
View file @
feba50f6
...
@@ -136,6 +136,7 @@ async def signin(request: Request, response: Response, form_data: SigninForm):
...
@@ -136,6 +136,7 @@ async def signin(request: Request, response: Response, form_data: SigninForm):
if
not
Users
.
get_user_by_email
(
trusted_email
.
lower
()):
if
not
Users
.
get_user_by_email
(
trusted_email
.
lower
()):
await
signup
(
await
signup
(
request
,
request
,
response
,
SignupForm
(
SignupForm
(
email
=
trusted_email
,
password
=
str
(
uuid
.
uuid4
()),
name
=
trusted_name
email
=
trusted_email
,
password
=
str
(
uuid
.
uuid4
()),
name
=
trusted_name
),
),
...
...
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