summaryrefslogtreecommitdiff
path: root/actions/accesstoken.php
diff options
context:
space:
mode:
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..46b43c702 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_local_url('accesstoken'));
common_debug('getting a server', __FILE__);
$server = omb_oauth_server();
common_debug('fetching the access token', __FILE__);