mirror of
https://github.com/elyby/oauth2-server.git
synced 2025-01-15 08:12:25 +05:30
It ain't static anymore Jim
This commit is contained in:
parent
c056be3e48
commit
7d0c075b36
@ -376,7 +376,7 @@ class AuthServer
|
||||
*/
|
||||
public function issueAccessToken($inputParams = array())
|
||||
{
|
||||
$grantType = self::getParam('grant_type', 'post', $inputParams);
|
||||
$grantType = $this->getParam('grant_type', 'post', $inputParams);
|
||||
|
||||
if (is_null($grantType)) {
|
||||
throw new Exception\ClientException(sprintf(self::$exceptionMessages['invalid_request'], 'grant_type'), 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user