Jelajahi Sumber

Cache credentials by default since that's the default svn behavior

Jordi Boggiano 13 tahun lalu
induk
melakukan
862d4af274
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      src/Composer/Util/Svn.php

+ 2 - 2
src/Composer/Util/Svn.php

@@ -43,7 +43,7 @@ class Svn
     /**
     /**
      * @var bool
      * @var bool
      */
      */
-    protected $cacheCredentials = false;
+    protected $cacheCredentials = true;
 
 
     /**
     /**
      * @param string                   $url
      * @param string                   $url
@@ -70,7 +70,7 @@ class Svn
         $this->credentials['username'] = $this->io->ask("Username: ");
         $this->credentials['username'] = $this->io->ask("Username: ");
         $this->credentials['password'] = $this->io->askAndHideAnswer("Password: ");
         $this->credentials['password'] = $this->io->askAndHideAnswer("Password: ");
 
 
-        $this->cacheCredentials = $this->io->askConfirmation("Should Subversion cache these credentials? (yes/no) ", false);
+        $this->cacheCredentials = $this->io->askConfirmation("Should Subversion cache these credentials? (yes/no) ", true);
 
 
         return $this;
         return $this;
     }
     }