Response for request token doesn't contain omb_version
Fixes http://status.net/trac/ticket/681 Sorry it took a year to accept this patch, dho :'-(
This commit is contained in:
parent
29d937d04e
commit
940ea07d4a
|
@ -72,7 +72,7 @@ class RequesttokenAction extends Action
|
||||||
$req = OAuthRequest::from_request('POST', common_local_url('requesttoken'));
|
$req = OAuthRequest::from_request('POST', common_local_url('requesttoken'));
|
||||||
$server = omb_oauth_server();
|
$server = omb_oauth_server();
|
||||||
$token = $server->fetch_request_token($req);
|
$token = $server->fetch_request_token($req);
|
||||||
print $token;
|
print $token.'&omb_version='.OMB_VERSION_01;
|
||||||
} catch (OAuthException $e) {
|
} catch (OAuthException $e) {
|
||||||
$this->serverError($e->getMessage());
|
$this->serverError($e->getMessage());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user