Output error message in verbose mode before asking for credentials, fixes #11570
parent
7ffcaacd08
commit
95dca79fc2
|
@ -223,6 +223,7 @@ class Git
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->io->writeError(' Authentication required (<info>' . $match[2] . '</info>):');
|
$this->io->writeError(' Authentication required (<info>' . $match[2] . '</info>):');
|
||||||
|
$this->io->writeError('<warning>' . trim($errorMsg) . '</warning>', true, IOInterface::VERBOSE);
|
||||||
$auth = [
|
$auth = [
|
||||||
'username' => $this->io->ask(' Username: ', $defaultUsername),
|
'username' => $this->io->ask(' Username: ', $defaultUsername),
|
||||||
'password' => $this->io->askAndHideAnswer(' Password: '),
|
'password' => $this->io->askAndHideAnswer(' Password: '),
|
||||||
|
|
Loading…
Reference in New Issue