Fixed incorrect parameter name

This commit is contained in:
Alex Bilbie 2012-07-26 12:53:07 +01:00
parent 9ead06077c
commit 9df1c8e20d

View File

@ -364,7 +364,7 @@ maintenance of the server.',
$authParams['grant_type'] : $_POST['grant_type'];
// Ensure response type is one that is recognised
if ( ! in_array($params['response_type'], $this->grant_types)) {
if ( ! in_array($params['grant_type'], $this->grant_types)) {
throw new OAuthServerClientException(
$this->errors['unsupported_grant_type'], 7);