forked from ZwiiCMS-Team/ZwiiCMS
Détruire la session après logout
This commit is contained in:
parent
263e0a11ee
commit
4df04643b5
@ -367,6 +367,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',
|
||||
|
Loading…
Reference in New Issue
Block a user