From b40027b6c750da49ce8ef3e3ee9a69325f3cdb4e Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Wed, 16 Jul 2014 09:35:32 +0200 Subject: [PATCH] Purge session when logging out fixes #6739 --- library/Icinga/Authentication/Manager.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/library/Icinga/Authentication/Manager.php b/library/Icinga/Authentication/Manager.php index 642efa3c4..01964ef00 100644 --- a/library/Icinga/Authentication/Manager.php +++ b/library/Icinga/Authentication/Manager.php @@ -176,12 +176,12 @@ class Manager } /** - * Purges the current authorization information and removes the user from the session - **/ + * Purges the current authorization information and session + */ public function removeAuthorization() { $this->user = null; - $this->persistCurrentUser(); + Session::getSession()->purge(); } /**