mirror of
https://github.com/elyby/oauth2-server.git
synced 2025-01-01 01:40:21 +05:30
Spelling fix
This commit is contained in:
parent
3ab511f2f7
commit
95931abd6b
@ -115,7 +115,7 @@ class Server
|
|||||||
$accessToken = null;
|
$accessToken = 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'])
|
||||||
{
|
{
|
||||||
case 'POST':
|
case 'POST':
|
||||||
$accessToken = isset($_POST[$this->_config['token_key']]) ? $_POST[$this->_config['token_key']] : null;
|
$accessToken = isset($_POST[$this->_config['token_key']]) ? $_POST[$this->_config['token_key']] : null;
|
||||||
|
Loading…
Reference in New Issue
Block a user