diff --git a/shop/components/login-form.tsx b/shop/components/login-form.tsx index 599c428..d965bfc 100644 --- a/shop/components/login-form.tsx +++ b/shop/components/login-form.tsx @@ -64,10 +64,8 @@ export function LoginForm({ const nextParam = typeof window !== 'undefined' ? new URLSearchParams(window.location.search).get('next') : null; if (nextParam) { router.push(nextParam); - } else if (role === "admin") { - router.push("/admin/einstellungen"); } else { - router.push("/my-customers"); + router.push("/"); } }, [router]);