This commit is contained in:
Timothy J. Baek 2024-05-08 17:17:21 -07:00
parent 01e020d1ad
commit 26ee547f71

View File

@ -118,9 +118,7 @@ async def signin(request: Request, form_data: SigninForm):
), ),
) )
user = Auths.authenticate_user_by_trusted_header(trusted_email) user = Auths.authenticate_user_by_trusted_header(trusted_email)
else: elif WEBUI_AUTH == False:
if WEBUI_AUTH == False:
admin_email = "admin@localhost" admin_email = "admin@localhost"
admin_password = "admin" admin_password = "admin"