1.12.00.14 user vide écrit au logout

This commit is contained in:
Fred Tempez 2024-09-26 19:58:00 +02:00
parent a8f70dc73a
commit 65eac4ac4a

View File

@ -1408,7 +1408,6 @@ class user extends common
helper::deleteCookie('ZWII_USER_ID'); helper::deleteCookie('ZWII_USER_ID');
//helper::deleteCookie('ZWII_USER_PASSWORD'); //helper::deleteCookie('ZWII_USER_PASSWORD');
helper::deleteCookie('ZWII_AUTH_KEY'); helper::deleteCookie('ZWII_AUTH_KEY');
$this->setData(['user', $this->getUser('id'), 'authKey', '']);
// Détruit la session // Détruit la session
session_destroy(); session_destroy();