diff --git a/apps/main/src/hooks/auth.ts b/apps/main/src/hooks/auth.ts index 5ddb847..fdc6856 100644 --- a/apps/main/src/hooks/auth.ts +++ b/apps/main/src/hooks/auth.ts @@ -259,11 +259,7 @@ export function useLogout() { queryClient.removeQueries(); }, onSuccess: () => { - toast.add({ - title: "Déconnexion réussie", - description: "Vous avez été déconnecté avec succès", - type: "success", - }); + window.location.href = "/login"; }, onError: (error) => { toast.add({