summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/public/appframework/http/contentsecuritypolicy.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/appframework/http/contentsecuritypolicy.php b/lib/public/appframework/http/contentsecuritypolicy.php
index 8132237a228..cb9a241d8af 100644
--- a/lib/public/appframework/http/contentsecuritypolicy.php
+++ b/lib/public/appframework/http/contentsecuritypolicy.php
@@ -81,7 +81,7 @@ class ContentSecurityPolicy {
* @param bool $state
* @return $this
*/
- public function evalScriptState($state = true) {
+ public function allowEvalScript($state = true) {
$this->evalScriptAllowed= $state;
return $this;
}