aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/bshaffer/oauth2-server-php/src/OAuth2/Request.php
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2018-03-10 15:43:13 -0500
committerAndrew Manning <tamanning@zoho.com>2018-03-10 15:43:13 -0500
commitaa6f7481a023c04b30ffc6aec2016e2b7b3b386f (patch)
tree38ea74a6e58bc6f42e5b2568485f6c34e40adfda /vendor/bshaffer/oauth2-server-php/src/OAuth2/Request.php
parenta4de63ca923583b77cf2a4ad60f4893e006f90e4 (diff)
downloadvolse-hubzilla-aa6f7481a023c04b30ffc6aec2016e2b7b3b386f.tar.gz
volse-hubzilla-aa6f7481a023c04b30ffc6aec2016e2b7b3b386f.tar.bz2
volse-hubzilla-aa6f7481a023c04b30ffc6aec2016e2b7b3b386f.zip
Fixed access_token request bug and returned oauth2-server-php library to unmodified state.
Diffstat (limited to 'vendor/bshaffer/oauth2-server-php/src/OAuth2/Request.php')
-rw-r--r--vendor/bshaffer/oauth2-server-php/src/OAuth2/Request.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/bshaffer/oauth2-server-php/src/OAuth2/Request.php b/vendor/bshaffer/oauth2-server-php/src/OAuth2/Request.php
index 2903e9f6c..c96cb972f 100644
--- a/vendor/bshaffer/oauth2-server-php/src/OAuth2/Request.php
+++ b/vendor/bshaffer/oauth2-server-php/src/OAuth2/Request.php
@@ -226,7 +226,7 @@ class Request implements RequestInterface
$class = get_called_class();
/** @var Request $request */
- $request = new $class($_GET, $_REQUEST, array(), $_COOKIE, $_FILES, $_SERVER);
+ $request = new $class($_GET, $_POST, array(), $_COOKIE, $_FILES, $_SERVER);
$contentType = $request->server('CONTENT_TYPE', '');
$requestMethod = $request->server('REQUEST_METHOD', 'GET');