forked from ZwiiCMS-Team/ZwiiCMS
13.4.00.test7 évite la création d'un user vide au logout
This commit is contained in:
parent
5811836238
commit
e0748c2eb6
@ -51,7 +51,7 @@ class common
|
|||||||
const ACCESS_TIMER = 1800;
|
const ACCESS_TIMER = 1800;
|
||||||
|
|
||||||
// Numéro de version
|
// Numéro de version
|
||||||
const ZWII_VERSION = '13.4.00.test6';
|
const ZWII_VERSION = '13.4.00.test7';
|
||||||
|
|
||||||
// URL autoupdate
|
// URL autoupdate
|
||||||
const ZWII_UPDATE_URL = 'https://forge.chapril.org/ZwiiCMS-Team/cms-update/raw/branch/master/';
|
const ZWII_UPDATE_URL = 'https://forge.chapril.org/ZwiiCMS-Team/cms-update/raw/branch/master/';
|
||||||
|
@ -1149,7 +1149,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();
|
||||||
|
Loading…
Reference in New Issue
Block a user