From 9df1c8e20deb936c1b33dbbe0fd77a2d369fe346 Mon Sep 17 00:00:00 2001 From: Alex Bilbie Date: Thu, 26 Jul 2012 12:53:07 +0100 Subject: [PATCH] Fixed incorrect parameter name --- src/Oauth2/Authentication/Server.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Oauth2/Authentication/Server.php b/src/Oauth2/Authentication/Server.php index 81b78206..2f5a1054 100644 --- a/src/Oauth2/Authentication/Server.php +++ b/src/Oauth2/Authentication/Server.php @@ -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);