瀏覽代碼

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');