diff --git a/usr/module/system/src/Controller/Front/LoginController.php b/usr/module/system/src/Controller/Front/LoginController.php index 5b466fb498..f4ebab5dfa 100644 --- a/usr/module/system/src/Controller/Front/LoginController.php +++ b/usr/module/system/src/Controller/Front/LoginController.php @@ -94,8 +94,8 @@ protected function renderForm($form, $message = '') public function logoutAction() { //$this->view()->assign('title', __('Logout')); - //Pi::service('session')->manager()->destroy(); - Pi::service('session')->manager()->getStorage()->clear(); + Pi::service('session')->manager()->destroy(); + //Pi::service('session')->manager()->getStorage()->clear(); $this->jump(array('route' => 'home'), __('You logged out successfully. Now go back to homepage.')); }