allow empty db password "" again

This commit is contained in:
Daniel Klabbers 2021-06-21 09:32:27 +02:00
parent 8eb5cfd062
commit 23dc0d7182

View File

@ -74,7 +74,7 @@ class SetupScript
$this->port = intval(getenv('DB_PORT') ?: 3306);
$this->name = getenv('DB_DATABASE') ?: 'flarum_test';
$this->user = getenv('DB_USERNAME') ?: 'root';
$this->pass = getenv('DB_PASSWORD') ?: 'root';
$this->pass = getenv('DB_PASSWORD') ?? 'root';
$this->pref = getenv('DB_PREFIX') ?: '';
}