aboutsummaryrefslogtreecommitdiffstats
path: root/vendor
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2018-02-25 08:36:40 -0500
committerAndrew Manning <tamanning@zoho.com>2018-02-25 08:36:40 -0500
commit70b8f3240f9bc38a41e314f613f6c1bd69f5b430 (patch)
tree6ab35eae42a157ead22aa4f507822c8f37164409 /vendor
parent497ebca54f5eaa74a1e9c9e4c5183c5565ce09e8 (diff)
downloadvolse-hubzilla-70b8f3240f9bc38a41e314f613f6c1bd69f5b430.tar.gz
volse-hubzilla-70b8f3240f9bc38a41e314f613f6c1bd69f5b430.tar.bz2
volse-hubzilla-70b8f3240f9bc38a41e314f613f6c1bd69f5b430.zip
An authorization token is received, but I had to modify the Request class in vendor/bshaffer/oauth2-server-php/ to accept $_REQUEST instead of $_POST.
Diffstat (limited to 'vendor')
-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 c96cb972f..2903e9f6c 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, $_POST, array(), $_COOKIE, $_FILES, $_SERVER);
+ $request = new $class($_GET, $_REQUEST, array(), $_COOKIE, $_FILES, $_SERVER);
$contentType = $request->server('CONTENT_TYPE', '');
$requestMethod = $request->server('REQUEST_METHOD', 'GET');