summaryrefslogtreecommitdiffstats
path: root/apps/federatedfilesharing/lib
diff options
context:
space:
mode:
authorJ0WI <J0WI@users.noreply.github.com>2021-07-07 17:52:46 +0200
committerJ0WI <J0WI@users.noreply.github.com>2021-07-08 15:11:31 +0200
commit3b656446afcac16b53aeb5906cb0d2dd57a23d7e (patch)
tree05ef4885ca0010e1253acf718cb1567e1d82fc03 /apps/federatedfilesharing/lib
parent040bc04287dd955194aaa9ec53d69e95d5bb5385 (diff)
downloadnextcloud-server-3b656446afcac16b53aeb5906cb0d2dd57a23d7e.tar.gz
nextcloud-server-3b656446afcac16b53aeb5906cb0d2dd57a23d7e.zip
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;
}
}