Détruire la session après logout

This commit is contained in:
fredtempez 2019-01-13 17:53:56 +01:00
parent 29037101d8
commit 6d9566a299
1 changed files with 1 additions and 0 deletions

View File

@ -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',