mirror of
https://github.com/elyby/accounts.git
synced 2024-11-30 10:42:16 +05:30
Removed change skin scope from refresh code
This commit is contained in:
parent
e23c3aeaed
commit
b2bd267eda
@ -31,7 +31,7 @@ class OauthSteps extends FunctionalTester {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public function getRefreshToken(array $permissions = []) {
|
public function getRefreshToken(array $permissions = []) {
|
||||||
$authCode = $this->getAuthCode(array_merge([S::OFFLINE_ACCESS, S::CHANGE_SKIN], $permissions));
|
$authCode = $this->getAuthCode(array_merge([S::OFFLINE_ACCESS], $permissions));
|
||||||
$response = $this->issueToken($authCode);
|
$response = $this->issueToken($authCode);
|
||||||
|
|
||||||
return $response['refresh_token'];
|
return $response['refresh_token'];
|
||||||
|
@ -46,7 +46,7 @@ class RefreshTokenCest {
|
|||||||
$refreshToken,
|
$refreshToken,
|
||||||
'ely',
|
'ely',
|
||||||
'ZuM1vGchJz-9_UZ5HC3H3Z9Hg5PzdbkM',
|
'ZuM1vGchJz-9_UZ5HC3H3Z9Hg5PzdbkM',
|
||||||
[P::MINECRAFT_SERVER_SESSION, S::OFFLINE_ACCESS, S::CHANGE_SKIN]
|
[P::MINECRAFT_SERVER_SESSION, S::OFFLINE_ACCESS]
|
||||||
));
|
));
|
||||||
$this->canSeeRefreshTokenSuccess($I);
|
$this->canSeeRefreshTokenSuccess($I);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user