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/setup.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/setup.php')
-rw-r--r-- | lib/private/setup.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/setup.php b/lib/private/setup.php index 770f5cdab52..d318e5f0575 100644 --- a/lib/private/setup.php +++ b/lib/private/setup.php @@ -310,9 +310,9 @@ class Setup { } //generate a random salt that is used to salt the local user passwords - $salt = $this->random->getLowStrengthGenerator()->generate(30); + $salt = $this->random->generate(30); // generate a secret - $secret = $this->random->getMediumStrengthGenerator()->generate(48); + $secret = $this->random->generate(48); //write the config file $this->config->setSystemValues([ |