diff options
Diffstat (limited to 'lib/private/Server.php')
-rw-r--r-- | lib/private/Server.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/Server.php b/lib/private/Server.php index 1ccc27802d2..21ec311401d 100644 --- a/lib/private/Server.php +++ b/lib/private/Server.php @@ -711,7 +711,8 @@ class Server extends ServerContainer implements IServerContainer { }); $this->registerService('ContentSecurityPolicyNonceManager', function(Server $c) { return new ContentSecurityPolicyNonceManager( - $c->getCsrfTokenManager() + $c->getCsrfTokenManager(), + $c->getRequest() ); }); $this->registerService('ShareManager', function(Server $c) { |