From 6d9566a2997bc6157837c9b1c143928cc011fc84 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Sun, 13 Jan 2019 17:53:56 +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 9ee42d7d..ab1cf57a 100755 --- a/core/module/user/user.php +++ b/core/module/user/user.php @@ -365,6 +365,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',