From 3b656446afcac16b53aeb5906cb0d2dd57a23d7e Mon Sep 17 00:00:00 2001 From: J0WI Date: Wed, 7 Jul 2021 17:52:46 +0200 Subject: Introduce ISecureRandom::CHAR_ALPHANUMERIC Signed-off-by: J0WI --- lib/private/Setup/MySQL.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/private/Setup/MySQL.php') diff --git a/lib/private/Setup/MySQL.php b/lib/private/Setup/MySQL.php index d1ca790adda..8a12465fd8d 100644 --- a/lib/private/Setup/MySQL.php +++ b/lib/private/Setup/MySQL.php @@ -162,7 +162,7 @@ class MySQL extends AbstractDatabase { $this->dbUser = $adminUser; //create a random password so we don't need to store the admin password in the config file - $this->dbPassword = $this->random->generate(30, ISecureRandom::CHAR_DIGITS . ISecureRandom::CHAR_LOWER . ISecureRandom::CHAR_UPPER); + $this->dbPassword = $this->random->generate(30, ISecureRandom::CHAR_ALPHANUMERIC); $this->createDBUser($connection); -- cgit v1.2.3