13.4.00.test7 évite la création d'un user vide au logout

This commit is contained in:
Fred Tempez 2024-09-26 19:59:39 +02:00
parent 5811836238
commit e0748c2eb6
2 changed files with 1 additions and 2 deletions

View File

@ -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/';

View File

@ -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();