summaryrefslogtreecommitdiff
path: root/actions/accesstoken.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/accesstoken.php
parent3cc94cc0bc2a57a08be63ecb274e7d2428ed6298 (diff)
parent573d4cf0fbc8f4ef5fb07e291f4a2b3dc0636ef5 (diff)
Merge branch '0.7.x' into 0.8.x
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__);