diff --git a/controllers/publics/Connect.php b/controllers/publics/Connect.php index fb53b68..9948bb8 100755 --- a/controllers/publics/Connect.php +++ b/controllers/publics/Connect.php @@ -151,8 +151,8 @@ namespace controllers\publics; */ public function logout() { - session_unset(); session_destroy(); + $_SESSION = []; return $this->redirect(\descartes\Router::url('Connect', 'login')); }