1
0
Fork 0

Fix regression in github fallback behavior

pull/3010/head
Jordi Boggiano 2014-05-22 09:44:01 +02:00
parent 0c85ca426d
commit a115cfd0d8
1 changed files with 1 additions and 1 deletions

View File

@ -336,7 +336,7 @@ class RemoteFilesystem
if (!$gitHubUtil->authorizeOAuth($this->originUrl)
&& (!$this->io->isInteractive() || !$gitHubUtil->authorizeOAuthInteractively($this->originUrl, $message))
) {
throw new TransportException('Could not authenticate against '.$this->originUrl);
throw new TransportException('Could not authenticate against '.$this->originUrl, 401);
}
} else {
// 404s are only handled for github