summaryrefslogtreecommitdiff
path: root/actions/accesstoken.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/accesstoken.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/accesstoken.php')
-rw-r--r--actions/accesstoken.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/accesstoken.php b/actions/accesstoken.php
index 77fdf6aef..bb68d3314 100644
--- a/actions/accesstoken.php
+++ b/actions/accesstoken.php
@@ -59,7 +59,7 @@ class AccesstokenAction extends Action
try {
common_debug('getting request from env variables', __FILE__);
common_remove_magic_from_request();
- $req = OAuthRequest::from_request();
+ $req = OAuthRequest::from_request('POST', common_locale_url('accesstoken'));
common_debug('getting a server', __FILE__);
$server = omb_oauth_server();
common_debug('fetching the access token', __FILE__);