till vor 13 Jahren
Ursprung
Commit
b30f8078e4
1 geänderte Dateien mit 4 neuen und 1 gelöschten Zeilen
  1. 4 1
      src/Composer/Repository/Vcs/SvnDriver.php

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

@@ -236,7 +236,10 @@ class SvnDriver extends VcsDriver implements VcsDriverInterface
         }
 
         $this->svnUsername = $uri['user'];
-        $this->svnUsername = $uri['pass'];
+
+        if (isset($uri['pass']) && !empty($uri['pass'])) {
+            $this->svnPassword = $uri['pass'];
+        }
 
         $this->useAuth = true;
     }