refacto logout url

This commit is contained in:
OxSaitama 2023-10-02 15:44:44 +02:00
parent 6f5134a7b6
commit e2cacb8c6f

View File

@ -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 (