mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-14 05:15:18 +00:00
refac
This commit is contained in:
parent
db658a730c
commit
21ca649ee4
1 changed files with 2 additions and 2 deletions
|
|
@ -2066,8 +2066,8 @@ async def oauth_client_authorize(
|
|||
client_id,
|
||||
)
|
||||
|
||||
re_registered = await register_client(request, client_id)
|
||||
if not re_registered:
|
||||
registered = await register_client(request, client_id)
|
||||
if not registered:
|
||||
raise HTTPException(
|
||||
status_code=status.HTTP_500_INTERNAL_SERVER_ERROR,
|
||||
detail="Failed to re-register OAuth client",
|
||||
|
|
|
|||
Loading…
Reference in a new issue