mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-23 05:44:36 +02:00
ActionController: Always read icingaweb config for csp
Method `$this->Config()` returns config based of current module.
This commit is contained in:
parent
c3b1ad12ab
commit
f283c81ed2
@ -172,7 +172,7 @@ class ActionController extends Zend_Controller_Action
|
||||
$this->redirectToLogin(Url::fromRequest());
|
||||
}
|
||||
|
||||
if (! $this->isXhr() && $this->Config()->get('security', 'use_strict_csp', false)) {
|
||||
if (! $this->isXhr() && Config::app()->get('security', 'use_strict_csp', false)) {
|
||||
Csp::createNonce();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user