From 264c6bf4e8fedfeec8528db201436dffe68123a4 Mon Sep 17 00:00:00 2001 From: Owen Date: Mon, 11 May 2026 12:06:36 -0700 Subject: [PATCH] Use the right param for user --- src/components/InviteStatusCard.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/InviteStatusCard.tsx b/src/components/InviteStatusCard.tsx index f35f47629..40b7123e7 100644 --- a/src/components/InviteStatusCard.tsx +++ b/src/components/InviteStatusCard.tsx @@ -99,7 +99,7 @@ export default function InviteStatusCard({ router.push(redirectUrl); } else if (!user && type === "not_logged_in") { const redirectUrl = email - ? `/auth/login?redirect=/invite?token=${tokenParam}&email=${email}` + ? `/auth/login?redirect=/invite?token=${tokenParam}&user=${email}` : `/auth/login?redirect=/invite?token=${tokenParam}`; router.push(redirectUrl); } else { @@ -113,7 +113,7 @@ export default function InviteStatusCard({ async function goToLogin() { await api.post("/auth/logout", {}); const redirectUrl = email - ? `/auth/login?redirect=/invite?token=${tokenParam}&email=${email}` + ? `/auth/login?redirect=/invite?token=${tokenParam}&user=${email}` : `/auth/login?redirect=/invite?token=${tokenParam}`; router.push(redirectUrl); }