diff options
author | Roeland Jago Douma <rullzer@owncloud.com> | 2016-01-11 20:05:30 +0100 |
---|---|---|
committer | Roeland Jago Douma <rullzer@owncloud.com> | 2016-01-11 20:06:30 +0100 |
commit | 876fb83ddcf7ae6c1b63e7d7a1636893c52284b6 (patch) | |
tree | 69b862da6255199689b9cfc3fc3f232da9977d99 /lib/base.php | |
parent | 98c4951f458f398c022bf928ff17b106a7901428 (diff) | |
download | nextcloud-server-876fb83ddcf7ae6c1b63e7d7a1636893c52284b6.tar.gz nextcloud-server-876fb83ddcf7ae6c1b63e7d7a1636893c52284b6.zip |
getMediumStrengthGenerator is deprecated and does not do anything anymore
Diffstat (limited to 'lib/base.php')
-rw-r--r-- | lib/base.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/base.php b/lib/base.php index 80b1a2bafcd..6f0cd14b5b4 100644 --- a/lib/base.php +++ b/lib/base.php @@ -1076,7 +1076,7 @@ class OC { if ($config->getSystemValue('debug', false)) { self::$server->getLogger()->debug('Setting remember login to cookie', array('app' => 'core')); } - $token = \OC::$server->getSecureRandom()->getMediumStrengthGenerator()->generate(32); + $token = \OC::$server->getSecureRandom()->generate(32); $config->setUserValue($userId, 'login_token', $token, time()); OC_User::setMagicInCookie($userId, $token); } else { |