mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-01 16:33:07 +05:30
Bug fix
This commit is contained in:
parent
d9c4962380
commit
a1e5fdddda
@ -114,6 +114,9 @@ class Server
|
|||||||
{
|
{
|
||||||
$accessToken = null;
|
$accessToken = null;
|
||||||
|
|
||||||
|
|
||||||
|
$_SERVER['REQUEST_METHOD'] = isset($_SERVER['REQUEST_METHOD']) ? $_SERVER['REQUEST_METHOD'] : null;
|
||||||
|
|
||||||
// Try and get the access token via an access_token or oauth_token parameter
|
// Try and get the access token via an access_token or oauth_token parameter
|
||||||
switch ($_SERVER['REQUEST_METHOD'])
|
switch ($_SERVER['REQUEST_METHOD'])
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user