mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-05-06 15:50:10 +02:00
We no longer need a dedicated layout for login
This commit is contained in:
parent
b7de09f6ba
commit
39b3af4b51
@ -53,7 +53,6 @@ class AuthenticationController extends ActionController
|
|||||||
*/
|
*/
|
||||||
public function loginAction()
|
public function loginAction()
|
||||||
{
|
{
|
||||||
$this->_helper->layout->setLayout('login');
|
|
||||||
$this->view->form = new LoginForm();
|
$this->view->form = new LoginForm();
|
||||||
$this->view->form->setRequest($this->_request);
|
$this->view->form->setRequest($this->_request);
|
||||||
$this->view->title = 'Icinga Web Login';
|
$this->view->title = 'Icinga Web Login';
|
||||||
@ -85,7 +84,7 @@ class AuthenticationController extends ActionController
|
|||||||
*/
|
*/
|
||||||
public function logoutAction()
|
public function logoutAction()
|
||||||
{
|
{
|
||||||
$this->_helper->layout->setLayout('inline');
|
// $this->_helper->layout->setLayout('inline');
|
||||||
$auth = AuthManager::getInstance();
|
$auth = AuthManager::getInstance();
|
||||||
$auth->removeAuthorization();
|
$auth->removeAuthorization();
|
||||||
$this->redirectToLogin();
|
$this->redirectToLogin();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user