From 54cfd2ddb31dafce54f34ce5ded561c543e54e2f Mon Sep 17 00:00:00 2001 From: broody Date: Wed, 15 Jan 2025 11:10:17 -1000 Subject: [PATCH] Fix slot login --- packages/keychain/src/components/slot/index.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/keychain/src/components/slot/index.tsx b/packages/keychain/src/components/slot/index.tsx index afcb117bd..21180acc0 100644 --- a/packages/keychain/src/components/slot/index.tsx +++ b/packages/keychain/src/components/slot/index.tsx @@ -47,7 +47,9 @@ function Auth() { "", ); - const target = returnTo ? `${returnTo}${otherParams}` : "/slot"; + const target = returnTo + ? `${returnTo}${otherParams}` + : `/slot/consent${otherParams}`; navigate(target, { replace: true }); } }, [user, controller, navigate, searchParams]);