Prechádzať zdrojové kódy

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

Jordi Boggiano 13 rokov pred
rodič
commit
862d4af274
1 zmenil súbory, kde vykonal 2 pridanie a 2 odobranie
  1. 2 2
      src/Composer/Util/Svn.php

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

@@ -43,7 +43,7 @@ class Svn
     /**
      * @var bool
      */
-    protected $cacheCredentials = false;
+    protected $cacheCredentials = true;
 
     /**
      * @param string                   $url
@@ -70,7 +70,7 @@ class Svn
         $this->credentials['username'] = $this->io->ask("Username: ");
         $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;
     }