Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

💩Do hard redirect after login to make sure root layout gets updated

Luke Velladc08d90de388
diff --git a/apps/web/src/app/[locale]/(auth)/login/components/login-email-form.tsx b/apps/web/src/app/[locale]/(auth)/login/components/login-email-form.tsx
index 2fe79c09b..d44241b25 100644
--- a/apps/web/src/app/[locale]/(auth)/login/components/login-email-form.tsx
+++ b/apps/web/src/app/[locale]/(auth)/login/components/login-email-form.tsx
@@ -87,7 +87,7 @@ export function LoginWithEmailForm() {
return;
}
- router.push(validatedRedirectTo ?? "/");
+ window.location.href = validatedRedirectTo ?? "/";
return;
} else {