From 39b3af4b51bcdadb5bb9be81b5cd0cb34cc83d5d Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Tue, 18 Feb 2014 18:43:14 +0000 Subject: [PATCH] We no longer need a dedicated layout for login --- application/controllers/AuthenticationController.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/application/controllers/AuthenticationController.php b/application/controllers/AuthenticationController.php index 8838b61ae..e93fa1ad2 100644 --- a/application/controllers/AuthenticationController.php +++ b/application/controllers/AuthenticationController.php @@ -53,7 +53,6 @@ class AuthenticationController extends ActionController */ public function loginAction() { - $this->_helper->layout->setLayout('login'); $this->view->form = new LoginForm(); $this->view->form->setRequest($this->_request); $this->view->title = 'Icinga Web Login'; @@ -85,7 +84,7 @@ class AuthenticationController extends ActionController */ public function logoutAction() { - $this->_helper->layout->setLayout('inline'); + // $this->_helper->layout->setLayout('inline'); $auth = AuthManager::getInstance(); $auth->removeAuthorization(); $this->redirectToLogin();