prompting condition of --db-password is changed

This commit is contained in:
Sevan Nerse 2020-10-16 12:06:56 +03:00
parent a8c16eacd2
commit ec8bfae2c1

View File

@ -155,7 +155,7 @@ class Install extends Command
$this->db_username = $this->ask('What is the database username?', 'root');
}
if (empty($this->db_password)) {
if (!isset($this->db_password)) {
$this->db_password = $this->secret('What is the database password?', '');
}