mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-25 23:04:51 +02:00
ActionController: Always reload window when redirecting to the login
This ensures that, if CSP is enabled, the newly created token on the login is accepted by the browser. A small, but IMHO desired, side effect is that the login now always appears in the default theme. fixes #5126
This commit is contained in:
parent
610bc5a4fe
commit
e5f6fc276a
@ -399,7 +399,8 @@ class ActionController extends Zend_Controller_Action
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->rerenderLayout()->redirectNow($login);
|
$this->getResponse()->setReloadWindow(true);
|
||||||
|
$this->redirectNow($login);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function rerenderLayout()
|
protected function rerenderLayout()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user