diff --git a/src/Composer/Repository/Vcs/SvnDriver.php b/src/Composer/Repository/Vcs/SvnDriver.php index c1ccd1a1c..f49450c00 100644 --- a/src/Composer/Repository/Vcs/SvnDriver.php +++ b/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; }