diff --git a/build/api/core/AuthSystemDefault.php b/build/api/core/AuthSystemDefault.php index 73715d1..eb61dd7 100644 --- a/build/api/core/AuthSystemDefault.php +++ b/build/api/core/AuthSystemDefault.php @@ -25,7 +25,7 @@ class AuthSystemDefault implements AuthSystem { if (strpos($_SERVER['REQUEST_URI'], '/logout/') !== false) { unset($_SESSION['idCAS']); - header('Location : https://www.google.fr/'); +// header('Location : https://www.google.fr/'); // // ce qu'il faudrait faire pour se déconnecter // header("Location : https://sso.univ-pau.fr/cas/logout?service=$_SERVER[REQUEST_SCHEME]://$_SERVER[HTTP_HOST]/"); @@ -35,8 +35,8 @@ class AuthSystemDefault implements AuthSystem { // // ce qu'on aurait pu faire pour se déconnecter mais la requête tourne dans le vide // echo ""; - // ce qu'il reste à faire pour au moins ne pas charger la page logout qui n'existe pas - echo ""; + // fonctionne mais c'est lent + echo ""; die(); }