Skip to content

Commit d144799

Browse files
Create more secure passwords by default
Signed-off-by: Joas Schilling <coding@schilljs.com>
1 parent e5bda6a commit d144799

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

lib/private/Setup/MySQL.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -161,10 +161,6 @@ private function createSpecificUser($username, $connection) {
161161
if (count($data) === 0) {
162162
//use the admin login data for the new database user
163163
$this->dbUser = $adminUser;
164-
165-
//create a random password so we don't need to store the admin password in the config file
166-
$this->dbPassword = $this->random->generate(30, ISecureRandom::CHAR_ALPHANUMERIC);
167-
168164
$this->createDBUser($connection);
169165

170166
break;

0 commit comments

Comments
 (0)