X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Faccesstoken.php;h=46b43c70216e106a5722434c38f365d56c0d3cc5;hb=b4e649fe906a793cd5e62d6390065ea5d41c40db;hp=65c67c64ed615d8d469baf19633ceb7231c34efc;hpb=a2a2dd88b5a580715a1b8256a5d8b7743675711c;p=quix0rs-gnu-social.git diff --git a/actions/accesstoken.php b/actions/accesstoken.php index 65c67c64ed..46b43c7021 100644 --- a/actions/accesstoken.php +++ b/actions/accesstoken.php @@ -50,7 +50,7 @@ class AccesstokenAction extends Action * Class handler. * * @param array $args query arguments - * + * * @return boolean false if user doesn't exist */ function handle($args) @@ -59,7 +59,7 @@ class AccesstokenAction extends Action try { common_debug('getting request from env variables', __FILE__); common_remove_magic_from_request(); - $req = OAuthRequest::from_request(); + $req = OAuthRequest::from_request('POST', common_local_url('accesstoken')); common_debug('getting a server', __FILE__); $server = omb_oauth_server(); common_debug('fetching the access token', __FILE__);