diff options
author | Roeland Jago Douma <rullzer@owncloud.com> | 2016-01-11 19:59:15 +0100 |
---|---|---|
committer | Roeland Jago Douma <rullzer@owncloud.com> | 2016-01-11 19:59:15 +0100 |
commit | 98c4951f458f398c022bf928ff17b106a7901428 (patch) | |
tree | 637a9189abdccda6d4cf3a594d9be462dad32384 /lib/private/util.php | |
parent | 373776b8d84bece3df4a06b157bbe41f51ef511d (diff) | |
download | nextcloud-server-98c4951f458f398c022bf928ff17b106a7901428.tar.gz nextcloud-server-98c4951f458f398c022bf928ff17b106a7901428.zip |
getLowStrengthGenerator does not do anything anymore
Diffstat (limited to 'lib/private/util.php')
-rw-r--r-- | lib/private/util.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/util.php b/lib/private/util.php index 4bcde68c355..5a7a4d8ae5d 100644 --- a/lib/private/util.php +++ b/lib/private/util.php @@ -1097,7 +1097,7 @@ class OC_Util { $id = \OC::$server->getSystemConfig()->getValue('instanceid', null); if (is_null($id)) { // We need to guarantee at least one letter in instanceid so it can be used as the session_name - $id = 'oc' . \OC::$server->getSecureRandom()->getLowStrengthGenerator()->generate(10, \OCP\Security\ISecureRandom::CHAR_LOWER.\OCP\Security\ISecureRandom::CHAR_DIGITS); + $id = 'oc' . \OC::$server->getSecureRandom()->generate(10, \OCP\Security\ISecureRandom::CHAR_LOWER.\OCP\Security\ISecureRandom::CHAR_DIGITS); \OC::$server->getSystemConfig()->setValue('instanceid', $id); } return $id; |