From 4df04643b581cc89b521f7dc13bccd39a779f0e5 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Sun, 13 Jan 2019 17:54:42 +0100 Subject: [PATCH] =?UTF-8?q?D=C3=A9truire=20la=20session=20apr=C3=A8s=20log?= =?UTF-8?q?out?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/module/user/user.php | 1 + 1 file changed, 1 insertion(+) diff --git a/core/module/user/user.php b/core/module/user/user.php index a35b479a..8ec4d156 100755 --- a/core/module/user/user.php +++ b/core/module/user/user.php @@ -367,6 +367,7 @@ class user extends common { public function logout() { helper::deleteCookie('ZWII_USER_ID'); helper::deleteCookie('ZWII_USER_PASSWORD'); + session_destroy(); // Valeurs en sortie $this->addOutput([ 'notification' => 'Déconnexion réussie',