mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
parent
205fbcbfa3
commit
73dd8c17de
1 changed files with 1 additions and 1 deletions
|
|
@ -77,7 +77,7 @@ class SecureRandom implements ISecureRandom {
|
|||
$randomString = '';
|
||||
|
||||
while($length > 0) {
|
||||
$randomNumber = random_int(0, $maxCharIndex);
|
||||
$randomNumber = \random_int(0, $maxCharIndex);
|
||||
$randomString .= $characters[$randomNumber];
|
||||
$length--;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue