Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJ0WI <J0WI@users.noreply.github.com>2021-07-07 18:52:46 +0300
committerJ0WI <J0WI@users.noreply.github.com>2021-07-08 16:11:31 +0300
commit3b656446afcac16b53aeb5906cb0d2dd57a23d7e (patch)
tree05ef4885ca0010e1253acf718cb1567e1d82fc03 /apps/federatedfilesharing/lib
parent040bc04287dd955194aaa9ec53d69e95d5bb5385 (diff)
Introduce ISecureRandom::CHAR_ALPHANUMERIC
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
Diffstat (limited to 'apps/federatedfilesharing/lib')
-rw-r--r--apps/federatedfilesharing/lib/TokenHandler.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/federatedfilesharing/lib/TokenHandler.php b/apps/federatedfilesharing/lib/TokenHandler.php
index 084d0b0e2a4..ffa81dfd074 100644
--- a/apps/federatedfilesharing/lib/TokenHandler.php
+++ b/apps/federatedfilesharing/lib/TokenHandler.php
@@ -52,7 +52,7 @@ class TokenHandler {
public function generateToken() {
$token = $this->secureRandom->generate(
self::TOKEN_LENGTH,
- ISecureRandom::CHAR_LOWER . ISecureRandom::CHAR_UPPER . ISecureRandom::CHAR_DIGITS);
+ ISecureRandom::CHAR_ALPHANUMERIC);
return $token;
}
}