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…
Reference in New Issue