From ad97273455b747a953728ca43eb4617efdef827b Mon Sep 17 00:00:00 2001 From: Alex Bilbie Date: Sat, 7 Sep 2013 18:00:13 +0100 Subject: [PATCH] Gave "bearer" a capital "B". Fixes #96 --- src/League/OAuth2/Server/Grant/Password.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/League/OAuth2/Server/Grant/Password.php b/src/League/OAuth2/Server/Grant/Password.php index 9cbb90e9..316f22c5 100644 --- a/src/League/OAuth2/Server/Grant/Password.php +++ b/src/League/OAuth2/Server/Grant/Password.php @@ -206,7 +206,7 @@ class Password implements GrantTypeInterface { $response = array( 'access_token' => $accessToken, - 'token_type' => 'bearer', + 'token_type' => 'Bearer', 'expires' => $accessTokenExpires, 'expires_in' => $accessTokenExpiresIn ); @@ -222,4 +222,4 @@ class Password implements GrantTypeInterface { return $response; } -} \ No newline at end of file +}