mirror of
https://github.com/open-webui/open-webui
synced 2025-03-28 11:22:31 +00:00
commit
61ffbf5b5b
@ -118,9 +118,8 @@ async def signin(request: Request, form_data: SigninForm):
|
||||
),
|
||||
)
|
||||
user = Auths.authenticate_user_by_trusted_header(trusted_email)
|
||||
|
||||
else:
|
||||
if WEBUI_AUTH == False:
|
||||
|
||||
if Users.get_num_users() != 0:
|
||||
raise HTTPException(400, detail=ERROR_MESSAGES.EXISTING_USERS)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user