1
0
Fork 0

Output error message in verbose mode before asking for credentials, fixes #11570

pull/11581/head
Jordi Boggiano 2023-08-04 11:05:15 +02:00
parent 7ffcaacd08
commit 95dca79fc2
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 1 additions and 0 deletions

View File

@ -223,6 +223,7 @@ class Git
}
$this->io->writeError(' Authentication required (<info>' . $match[2] . '</info>):');
$this->io->writeError('<warning>' . trim($errorMsg) . '</warning>', true, IOInterface::VERBOSE);
$auth = [
'username' => $this->io->ask(' Username: ', $defaultUsername),
'password' => $this->io->askAndHideAnswer(' Password: '),