mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-14 13:25:20 +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,
|
client_id,
|
||||||
)
|
)
|
||||||
|
|
||||||
re_registered = await register_client(request, client_id)
|
registered = await register_client(request, client_id)
|
||||||
if not re_registered:
|
if not registered:
|
||||||
raise HTTPException(
|
raise HTTPException(
|
||||||
status_code=status.HTTP_500_INTERNAL_SERVER_ERROR,
|
status_code=status.HTTP_500_INTERNAL_SERVER_ERROR,
|
||||||
detail="Failed to re-register OAuth client",
|
detail="Failed to re-register OAuth client",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue