From e2cacb8c6f6f1995ea38820d5207ccc2e4202b64 Mon Sep 17 00:00:00 2001 From: OxSaitama Date: Mon, 2 Oct 2023 15:44:44 +0200 Subject: [PATCH] refacto logout url --- src/front/Components/DesignSystem/LogOutButton/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/front/Components/DesignSystem/LogOutButton/index.tsx b/src/front/Components/DesignSystem/LogOutButton/index.tsx index adf35eab..a2ca2042 100644 --- a/src/front/Components/DesignSystem/LogOutButton/index.tsx +++ b/src/front/Components/DesignSystem/LogOutButton/index.tsx @@ -13,7 +13,7 @@ export default function LogOut() { const disconnect = async() => { await UserStore.instance.disconnect(); - router.push(`https://qual-connexion.idnot.fr/user/auth/logout?post_logout_redirect_uri=${variables.FRONT_APP_HOST}/login`); + router.push(`https://qual-connexion.idnot.fr/user/auth/logout?sourceURL=${variables.FRONT_APP_HOST}`); }; return (