summaryrefslogtreecommitdiffstats
path: root/lib/private/share
diff options
context:
space:
mode:
authorkondou <kondou@ts.unde.re>2014-09-04 15:52:23 +0200
committerkondou <kondou@ts.unde.re>2014-09-04 15:52:23 +0200
commitc2d8eabd7178a032789659abe127e557db32f550 (patch)
tree6909bc076624156259891207c7ff535f0b5547e0 /lib/private/share
parent3bf725d7e03e8995a9f54396a5ab817468718d30 (diff)
downloadnextcloud-server-c2d8eabd7178a032789659abe127e557db32f550.tar.gz
nextcloud-server-c2d8eabd7178a032789659abe127e557db32f550.zip
Change config.sample entry and use MediumSecurity
Diffstat (limited to 'lib/private/share')
-rw-r--r--lib/private/share/share.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/share/share.php b/lib/private/share/share.php
index 5bebd16a9b4..658eaeb3a41 100644
--- a/lib/private/share/share.php
+++ b/lib/private/share/share.php
@@ -646,7 +646,7 @@ class Share extends \OC\Share\Constants {
if ($tokenLength < 3 || $tokenLength > 64) {
$tokenLength = 13;
}
- $token = \OC::$server->getSecureRandom()->getLowStrengthGenerator()->generate($tokenLength,
+ $token = \OC::$server->getSecureRandom()->getMediumStrengthGenerator()->generate($tokenLength,
\OCP\Security\ISecureRandom::CHAR_LOWER.\OCP\Security\ISecureRandom::CHAR_DIGITS
);
}