From f06ec485cbf56b8f127f5ec01317ecadb2e8deef Mon Sep 17 00:00:00 2001 From: sabaimran Date: Fri, 12 Apr 2024 17:10:05 +0530 Subject: [PATCH] Fix redirect url process for login flow, existing user --- src/khoj/routers/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/khoj/routers/auth.py b/src/khoj/routers/auth.py index f6a2a0c8..32a3f845 100644 --- a/src/khoj/routers/auth.py +++ b/src/khoj/routers/auth.py @@ -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")