forked from ZwiiCMS-Team/ZwiiCMS
Détruire la session après logout
This commit is contained in:
parent
29037101d8
commit
6d9566a299
@ -365,6 +365,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