]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/requesttoken.php
Merge branch '0.8.x' of git@gitorious.org:+laconica-developers/laconica/dev into...
[quix0rs-gnu-social.git] / actions / requesttoken.php
index fb577fdd57bfea0902b4bab9b822ffa591a0e35f..9507e3d6c9c3a2c897276d31a794188a1620d0bb 100644 (file)
@@ -69,7 +69,7 @@ class RequesttokenAction extends Action
         parent::handle($args);
         try {
             common_remove_magic_from_request();
-            $req    = OAuthRequest::from_request();
+            $req    = OAuthRequest::from_request('POST', common_local_url('requesttoken'));
             $server = omb_oauth_server();
             $token  = $server->fetch_request_token($req);
             print $token;