1
0
Fork 0
mirror of synced 2024-09-30 09:18:14 +13:00

chore: sanitisation of BitBucket Adapter

This commit is contained in:
Christy Jacob 2020-01-13 19:48:47 +05:30
parent b190bc28d8
commit 907de3e95f
2 changed files with 5 additions and 3 deletions

View file

@ -18,8 +18,10 @@ class Amazon extends OAuth
/**
* @var array
*/
protected $requiredScope = [];
protected $requiredScope = [
"profile"
];
/**
* @return string
*/

View file

@ -36,7 +36,7 @@ class Bitbucket extends OAuth
$this->addScope($item);
}
return 'https://bitbucket.org/site/oauth2/authorize?' .http_build_query([
return 'https://bitbucket.org/site/oauth2/authorize?'.http_build_query([
'response_type' => 'code',
'client_id' => $this->appID,
'scope' => implode(' ', $this->getScopes()),