소스 검색

hide password input

till 13 년 전
부모
커밋
244cc2a8c2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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');