From e0748c2eb685f32c5b07593807640856d0809963 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Tempez?= Date: Thu, 26 Sep 2024 19:59:39 +0200 Subject: [PATCH] =?UTF-8?q?13.4.00.test7=20=C3=A9vite=20la=20cr=C3=A9ation?= =?UTF-8?q?=20d'un=20user=20vide=20au=20logout?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core.php | 2 +- core/module/user/user.php | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/core/core.php b/core/core.php index 513577cf..31bd2308 100644 --- a/core/core.php +++ b/core/core.php @@ -51,7 +51,7 @@ class common const ACCESS_TIMER = 1800; // Numéro de version - const ZWII_VERSION = '13.4.00.test6'; + const ZWII_VERSION = '13.4.00.test7'; // URL autoupdate const ZWII_UPDATE_URL = 'https://forge.chapril.org/ZwiiCMS-Team/cms-update/raw/branch/master/'; diff --git a/core/module/user/user.php b/core/module/user/user.php index d1d0ac2b..728e7510 100644 --- a/core/module/user/user.php +++ b/core/module/user/user.php @@ -1149,7 +1149,6 @@ class user extends common helper::deleteCookie('ZWII_USER_ID'); //helper::deleteCookie('ZWII_USER_PASSWORD'); helper::deleteCookie('ZWII_AUTH_KEY'); - $this->setData(['user', $this->getUser('id'), 'authKey', '']); // Détruit la session session_destroy();