Fix redirect url process for login flow, existing user

This commit is contained in:
sabaimran 2024-04-12 17:10:05 +05:30
parent 87b9a93fa1
commit f06ec485cb

View file

@ -128,7 +128,7 @@ async def auth(request: Request):
logger.log(logging.INFO, f"🥳 New User Created: {khoj_user.uuid}")
return RedirectResponse(url=f"{next_url}", status_code=HTTP_302_FOUND)
return RedirectResponse(url=f"{next_url}")
return RedirectResponse(url=f"{next_url}", status_code=HTTP_302_FOUND)
@auth_router.get("/logout")