summaryrefslogtreecommitdiff
path: root/actions/requesttoken.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-04-15 11:35:43 -0400
committerEvan Prodromou <evan@controlyourself.ca>2009-04-15 11:35:43 -0400
commit55d7bb4701ca39fb8f4b859b19defdfc7af0142c (patch)
treeea91f02ddda166c66991bf25d284079978c53f1f /actions/requesttoken.php
parent3cc94cc0bc2a57a08be63ecb274e7d2428ed6298 (diff)
parent573d4cf0fbc8f4ef5fb07e291f4a2b3dc0636ef5 (diff)
Merge branch '0.7.x' into 0.8.x
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;