summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@owncloud.com>2016-01-09 19:57:03 +0100
committerRoeland Jago Douma <rullzer@owncloud.com>2016-01-09 19:57:03 +0100
commit77c611d339af2e2c5123cebdd96994c2f5e97c79 (patch)
tree45c89ef18b8dd572ea93c81fae1c09f2ed1184c1 /lib
parentc5b2b3a1244400d57b80ecbcfe4a14867bffc184 (diff)
downloadnextcloud-server-77c611d339af2e2c5123cebdd96994c2f5e97c79.tar.gz
nextcloud-server-77c611d339af2e2c5123cebdd96994c2f5e97c79.zip
Just query the securerandom from the container
Diffstat (limited to 'lib')
-rw-r--r--lib/private/server.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/server.php b/lib/private/server.php
index a21ff58f355..ead9fa95db8 100644
--- a/lib/private/server.php
+++ b/lib/private/server.php
@@ -553,7 +553,7 @@ class Server extends ServerContainer implements IServerContainer {
? $_SERVER['REQUEST_METHOD']
: null,
],
- new SecureRandom(),
+ $c->getSecureRandom(),
$c->getConfig()
);