Merge pull request #3485 from open-webui/dev

fix: WEBUI_AUTH
This commit is contained in:
Timothy Jaeryang Baek 2024-06-27 21:43:51 -07:00 committed by GitHub
commit f7da94ff85
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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
), ),