summaryrefslogtreecommitdiff
path: root/actions/accesstoken.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/accesstoken.php')
-rw-r--r--actions/accesstoken.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/actions/accesstoken.php b/actions/accesstoken.php
index 80c4477d0..4907749ce 100644
--- a/actions/accesstoken.php
+++ b/actions/accesstoken.php
@@ -26,6 +26,7 @@ class AccesstokenAction extends Action {
parent::handle($args);
try {
common_debug('getting request from env variables', __FILE__);
+ common_remove_magic_from_request();
$req = OAuthRequest::from_request();
common_debug('getting a server', __FILE__);
$server = omb_oauth_server();