Skip to content

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

🐛 Redirect to root on logout (#1667)

Luke Vellaaa721d936962
diff --git a/apps/web/src/app/[locale]/(admin)/settings/components/sign-out-button.tsx b/apps/web/src/app/[locale]/(admin)/settings/components/sign-out-button.tsx
index 0efb4c2c8..7b28fb912 100644
--- a/apps/web/src/app/[locale]/(admin)/settings/components/sign-out-button.tsx
+++ b/apps/web/src/app/[locale]/(admin)/settings/components/sign-out-button.tsx
@@ -13,7 +13,9 @@ export const SignOutButton = () => {
variant="ghost"
size="sm"
onClick={() => {
- signOut();
+ signOut({
+ redirectTo: "/",
+ });
}}
>
<Icon>