summaryrefslogtreecommitdiff
path: root/actions/requesttoken.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-04-15 10:25:26 -0400
committerEvan Prodromou <evan@controlyourself.ca>2009-04-15 10:25:26 -0400
commit5ff8d8d447f306f4ad654d56b47cc6f740321c38 (patch)
tree113c2546f5fab3687f8101fb33a8a25b5880114d /actions/requesttoken.php
parent8da76e0810342a90ac006f67cfd73500972f883a (diff)
parent8439477201cd59a6c0dba84ddf48eb86a6154199 (diff)
Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x
Conflicts: actions/public.php
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;