From 92d5825ead60dfbeee7214f04fcf7596d253a02f Mon Sep 17 00:00:00 2001 From: Manus Sandbox Date: Sun, 23 Nov 2025 06:16:58 -0500 Subject: [PATCH] =?UTF-8?q?Checkpoint:=20Correction=20de=20la=20redirectio?= =?UTF-8?q?n=20apr=C3=A8s=20d=C3=A9connexion=20:=20l'utilisateur=20est=20m?= =?UTF-8?q?aintenant=20redirig=C3=A9=20vers=20la=20page=20de=20choix=20de?= =?UTF-8?q?=20connexion=20(/)=20apr=C3=A8s=20s'=C3=AAtre=20d=C3=A9connect?= =?UTF-8?q?=C3=A9,=20au=20lieu=20de=20rester=20sur=20la=20m=C3=AAme=20page?= =?UTF-8?q?.=20Cela=20permet=20de=20choisir=20=C3=A0=20nouveau=20entre=20c?= =?UTF-8?q?onnexion=20Manus=20OAuth=20et=20connexion=20locale=20apr=C3=A8s?= =?UTF-8?q?=20chaque=20d=C3=A9connexion.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/src/components/DashboardLayout.tsx | 5 ++++- todo.md | 5 +++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/client/src/components/DashboardLayout.tsx b/client/src/components/DashboardLayout.tsx index 6e85690..801e73d 100644 --- a/client/src/components/DashboardLayout.tsx +++ b/client/src/components/DashboardLayout.tsx @@ -259,7 +259,10 @@ function DashboardLayoutContent({ { + await logout(); + setLocation('/'); + }} className="cursor-pointer text-destructive focus:text-destructive" > diff --git a/todo.md b/todo.md index 2ab87b4..c69f5fc 100644 --- a/todo.md +++ b/todo.md @@ -442,3 +442,8 @@ - [x] Créer une page LoginChoice avec boutons "Connexion Manus" et "Connexion locale" - [x] Modifier les routes pour afficher cette page en premier - [x] Tester le choix et les redirections + +## Correction redirection après déconnexion + +- [x] Modifier la procédure de déconnexion pour rediriger vers la page de choix (/) +- [x] Tester la déconnexion et vérifier la redirection