summaryrefslogtreecommitdiff
path: root/actions/requesttoken.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/requesttoken.php')
-rw-r--r--actions/requesttoken.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/requesttoken.php b/actions/requesttoken.php
index fb577fdd5..9507e3d6c 100644
--- a/actions/requesttoken.php
+++ b/actions/requesttoken.php
@@ -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;