1
0
Fork 0

Fixed a bug that prevented interactive authentication to work properly

pull/5243/head
msarca 2016-04-25 21:55:23 +03:00
parent 4ed1e88689
commit 9f58c3d6e3
1 changed files with 1 additions and 1 deletions

View File

@ -326,7 +326,7 @@ class GitLabDriver extends VcsDriver
return $this->attemptCloneFallback();
}
$this->io->writeError('<warning>Failed to download ' . $this->owner . '/' . $this->repository . ':' . $e->getMessage() . '</warning>');
$gitLabUtil->authorizeOAuthInteractively($this->originUrl, 'Your credentials are required to fetch private repository metadata (<info>'.$this->url.'</info>)');
$gitLabUtil->authorizeOAuthInteractively($this->scheme, $this->originUrl, 'Your credentials are required to fetch private repository metadata (<info>'.$this->url.'</info>)');
return parent::getContents($url);