/** * Log out (ajax) */ public function indexAjaxAction() { User::logout(); $this->afterLogoutAjax(); }