mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-24 22:34:24 +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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user