Procházet zdrojové kódy

hide password input

till před 13 roky
rodič
revize
244cc2a8c2
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/Composer/Repository/Vcs/SvnDriver.php

+ 1 - 1
src/Composer/Repository/Vcs/SvnDriver.php

@@ -93,7 +93,7 @@ class SvnDriver extends VcsDriver implements VcsDriverInterface
                 $this->io->write("The Subversion server ({$this->baseUrl}) requested credentials:");
 
                 $this->svnUsername = $this->io->ask("Username");
-                $this->svnPassword = $this->io->ask("Password");
+                $this->svnPassword = $this->io->askAndHideAnswer("Password");
                 $this->useAuth     = true;
 
                 static $cacheTrueAnswers = array('yes', 'y', 'true', 'ja', 'si', 'da');