From 608d0babd278c8416fd4f291e7a927ff354717ce Mon Sep 17 00:00:00 2001 From: gearnode Date: Wed, 26 Mar 2025 09:15:24 +0100 Subject: [PATCH] Fix sign in redirect unauthorized error Signed-off-by: gearnode --- apps/console/src/pages/authentication/LoginPage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/console/src/pages/authentication/LoginPage.tsx b/apps/console/src/pages/authentication/LoginPage.tsx index e0811973f..30f814d82 100644 --- a/apps/console/src/pages/authentication/LoginPage.tsx +++ b/apps/console/src/pages/authentication/LoginPage.tsx @@ -46,7 +46,7 @@ export default function LoginPage() { throw new Error(error.message || "Failed to login"); } - navigate("/", { replace: true }); + window.location.href = "/"; } catch (error: unknown) { toast({ title: "Error",