Skip to content

Commit

Permalink
Revert "fixes verifier not getting added to header"
Browse files Browse the repository at this point in the history
This reverts commit 9ffcd7a.
  • Loading branch information
Elliot Chance committed Oct 14, 2015
1 parent cf3770e commit a5fe662
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/OAuth/OAuth1/Service/AbstractService.php
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,8 @@ protected function buildAuthorizationHeaderForAPIRequest(

$authParameters = array_merge($authParameters, array('oauth_token' => $token->getAccessToken()));

$authParameters = (is_array($bodyParams)) ? array_merge($authParameters, $bodyParams) : $authParameters;
$authParameters['oauth_signature'] = $this->signature->getSignature($uri, $authParameters, $method);
$signatureParams = (is_array($bodyParams)) ? array_merge($authParameters, $bodyParams) : $authParameters;
$authParameters['oauth_signature'] = $this->signature->getSignature($uri, $signatureParams, $method);

if (isset($bodyParams['oauth_session_handle'])) {
$authParameters['oauth_session_handle'] = $bodyParams['oauth_session_handle'];
Expand Down

0 comments on commit a5fe662

Please sign in to comment.