diff --git a/library/Icinga/Web/Controller/ActionController.php b/library/Icinga/Web/Controller/ActionController.php index 17228abad..fee08119e 100644 --- a/library/Icinga/Web/Controller/ActionController.php +++ b/library/Icinga/Web/Controller/ActionController.php @@ -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(); }