replaceLayout = true; $this->view->form = $this->widget('form', array('name' => 'login')); } /** * */ public function logoutAction() { $this->replaceLayout = true; Auth::getInstance()->forgetAuthentication(); Notification::success('You have been logged out'); $this->_forward('login'); } } // @codingStandardsIgnoreEnd