diff options
Diffstat (limited to 'apps/federation/api/ocsauthapi.php')
-rw-r--r-- | apps/federation/api/ocsauthapi.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/federation/api/ocsauthapi.php b/apps/federation/api/ocsauthapi.php index b94550fd4f2..c089c89f9d4 100644 --- a/apps/federation/api/ocsauthapi.php +++ b/apps/federation/api/ocsauthapi.php @@ -139,7 +139,7 @@ class OCSAuthAPI { return new \OC_OCS_Result(null, HTTP::STATUS_FORBIDDEN); } - $sharedSecret = $this->secureRandom->getMediumStrengthGenerator()->generate(32); + $sharedSecret = $this->secureRandom->generate(32); $this->trustedServers->addSharedSecret($url, $sharedSecret); // reset token after the exchange of the shared secret was successful |