]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Response for request token doesn't contain omb_version
authorCraig Andrews <candrews@integralblue.com>
Sun, 13 Sep 2009 04:01:23 +0000 (00:01 -0400)
committerCraig Andrews <candrews@integralblue.com>
Sun, 13 Sep 2009 04:01:23 +0000 (00:01 -0400)
Fixes http://status.net/trac/ticket/681

Sorry it took a year to accept this patch, dho :'-(

actions/requesttoken.php

index 48fe1db08f1ea13cef4eec9b6ce59b8f68cc9e13..a17efcdd50abaf55dbc5bc21b2f7daf52cd33a0d 100644 (file)
@@ -72,7 +72,7 @@ class RequesttokenAction extends Action
             $req    = OAuthRequest::from_request('POST', common_local_url('requesttoken'));
             $server = omb_oauth_server();
             $token  = $server->fetch_request_token($req);
-            print $token;
+            print $token.'&omb_version='.OMB_VERSION_01;
         } catch (OAuthException $e) {
             $this->serverError($e->getMessage());
         }