Skip to content

Commit baa5deb

Browse files
author
Gabriel Simmer
committed
Fix --password flag not being set.
1 parent ef9067d commit baa5deb

File tree

2 files changed

+38
-39
lines changed

2 files changed

+38
-39
lines changed

composer.lock

+37-38
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/DatabaseJanitorCommand.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ protected function execute(InputInterface $input, OutputInterface $output) {
6262
$question = new Question('Enter database user: ');
6363
$this->username = $helper->ask($input, $output, $question);
6464
}
65-
if (!$this->password = $input->getOption('password') && !$input->getOption('drupal')) {
65+
if (!$this->password = $input->getOption('password')) {
6666
$question = new Question('Enter database password for ' . $this->username . ': ');
6767
$question->setHidden(TRUE);
6868
$question->setHiddenFallback(FALSE);

0 commit comments

Comments
 (0)