X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Frequesttoken.php;h=3c8cea03c08503a322e2d0d489100a2baf53ffbb;hb=9c424cb7e639a58aa0bee83bb805f394173eaf03;hp=a17efcdd50abaf55dbc5bc21b2f7daf52cd33a0d;hpb=65a3ccd4587193bba72501837fab097e041f96d3;p=quix0rs-gnu-social.git diff --git a/actions/requesttoken.php b/actions/requesttoken.php index a17efcdd50..3c8cea03c0 100644 --- a/actions/requesttoken.php +++ b/actions/requesttoken.php @@ -1,5 +1,4 @@ fetch_request_token($req); - print $token.'&omb_version='.OMB_VERSION_01; - } catch (OAuthException $e) { + $srv = new OMB_Service_Provider(null, omb_oauth_datastore(), + omb_oauth_server()); + $srv->writeRequestToken(); + } catch (Exception $e) { $this->serverError($e->getMessage()); } } } -