From 9f58c3d6e3a1304d6297e6fc2269e518575954d7 Mon Sep 17 00:00:00 2001 From: msarca Date: Mon, 25 Apr 2016 21:55:23 +0300 Subject: [PATCH] Fixed a bug that prevented interactive authentication to work properly --- src/Composer/Repository/Vcs/GitLabDriver.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Repository/Vcs/GitLabDriver.php b/src/Composer/Repository/Vcs/GitLabDriver.php index 8642c2d42..7e743b8a5 100644 --- a/src/Composer/Repository/Vcs/GitLabDriver.php +++ b/src/Composer/Repository/Vcs/GitLabDriver.php @@ -326,7 +326,7 @@ class GitLabDriver extends VcsDriver return $this->attemptCloneFallback(); } $this->io->writeError('Failed to download ' . $this->owner . '/' . $this->repository . ':' . $e->getMessage() . ''); - $gitLabUtil->authorizeOAuthInteractively($this->originUrl, 'Your credentials are required to fetch private repository metadata ('.$this->url.')'); + $gitLabUtil->authorizeOAuthInteractively($this->scheme, $this->originUrl, 'Your credentials are required to fetch private repository metadata ('.$this->url.')'); return parent::getContents($url);