diff --git a/apps/infoalloggi/src/pages/auth/accetta-invito/[token].tsx b/apps/infoalloggi/src/pages/auth/accetta-invito/[token].tsx index 28bf713..ba74e75 100644 --- a/apps/infoalloggi/src/pages/auth/accetta-invito/[token].tsx +++ b/apps/infoalloggi/src/pages/auth/accetta-invito/[token].tsx @@ -90,7 +90,8 @@ const AcceptInvitePage: NextPageWithLayout = ({ api.invite.acceptInvite.useMutation({ onSuccess: async () => { toast.success("Account creato! Effettua il login."); - await router.push("/login?redirect=/area-riservata/dashboard"); + await router.push("/area-riservata/dashboard"); + //await router.push("/login?redirect=/area-riservata/dashboard"); }, onError: (error) => { toast.error(error.message);