diff options
author | Andrew Manning <tamanning@zoho.com> | 2018-02-25 08:36:40 -0500 |
---|---|---|
committer | Andrew Manning <tamanning@zoho.com> | 2018-02-25 08:36:40 -0500 |
commit | 70b8f3240f9bc38a41e314f613f6c1bd69f5b430 (patch) | |
tree | 6ab35eae42a157ead22aa4f507822c8f37164409 /vendor/bshaffer/oauth2-server-php/src | |
parent | 497ebca54f5eaa74a1e9c9e4c5183c5565ce09e8 (diff) | |
download | volse-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/bshaffer/oauth2-server-php/src')
-rw-r--r-- | vendor/bshaffer/oauth2-server-php/src/OAuth2/Request.php | 2 |
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'); |