Avoid following the URL to the authorization that was just created, fixes #1238
parent
169bb2d60e
commit
76663cf21e
|
@ -80,6 +80,7 @@ class GitHub
|
|||
$contents = JsonFile::parseJson($this->remoteFilesystem->getContents($originUrl, 'https://api.github.com/authorizations', false, array(
|
||||
'http' => array(
|
||||
'method' => 'POST',
|
||||
'follow_location' => false,
|
||||
'header' => "Content-Type: application/json\r\n",
|
||||
'content' => json_encode(array(
|
||||
'scopes' => array('repo'),
|
||||
|
|
Loading…
Reference in New Issue