From 876fb83ddcf7ae6c1b63e7d7a1636893c52284b6 Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Mon, 11 Jan 2016 20:05:30 +0100 Subject: getMediumStrengthGenerator is deprecated and does not do anything anymore --- apps/encryption/lib/crypto/encryptall.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/encryption') diff --git a/apps/encryption/lib/crypto/encryptall.php b/apps/encryption/lib/crypto/encryptall.php index ef67523d7e2..3bc2746f5fa 100644 --- a/apps/encryption/lib/crypto/encryptall.php +++ b/apps/encryption/lib/crypto/encryptall.php @@ -344,7 +344,7 @@ class EncryptAll { * @return string password */ protected function generateOneTimePassword($uid) { - $password = $this->secureRandom->getMediumStrengthGenerator()->generate(8); + $password = $this->secureRandom->generate(8); $this->userPasswords[$uid] = $password; return $password; } -- cgit v1.2.3