summaryrefslogtreecommitdiff
path: root/actions/requesttoken.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/requesttoken.php')
-rw-r--r--actions/requesttoken.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/actions/requesttoken.php b/actions/requesttoken.php
index 4a2321532..76019a929 100644
--- a/actions/requesttoken.php
+++ b/actions/requesttoken.php
@@ -30,6 +30,7 @@ class RequesttokenAction extends Action {
function handle($args) {
parent::handle($args);
try {
+ common_remove_magic_from_request();
$req = OAuthRequest::from_request();
$server = omb_oauth_server();
$token = $server->fetch_request_token($req);