summaryrefslogtreecommitdiffstats
path: root/apps/theming
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2016-10-24 16:31:06 +0200
committerLukas Reschke <lukas@statuscode.ch>2016-10-24 16:35:31 +0200
commit38b3ac8213d152a9ea8473cbb558605fb165e91f (patch)
treef0973f2ed58b0b3bfb906c6bd7c099c092383bc8 /apps/theming
parent9e6634814ee682be20ac419afeef02a4b53fb47d (diff)
downloadnextcloud-server-38b3ac8213d152a9ea8473cbb558605fb165e91f.tar.gz
nextcloud-server-38b3ac8213d152a9ea8473cbb558605fb165e91f.zip
Add ContentSecurityPolicyNonceManager
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'apps/theming')
-rw-r--r--apps/theming/appinfo/app.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/theming/appinfo/app.php b/apps/theming/appinfo/app.php
index 03fdbc9d002..152504c4179 100644
--- a/apps/theming/appinfo/app.php
+++ b/apps/theming/appinfo/app.php
@@ -47,7 +47,7 @@ $linkToJs = \OC::$server->getURLGenerator()->linkToRoute(
'script',
[
'src' => $linkToJs,
- 'nonce' => base64_encode(\OC::$server->getCsrfTokenManager()->getToken()->getEncryptedValue())
+ 'nonce' => \OC::$server->getContentSecurityPolicyNonceManager()->getNonce()
], ''
);