Skip to content

Commit

Permalink
Merge pull request #436 from Lusitanian/revert
Browse files Browse the repository at this point in the history
Revert "fixes verifier not getting added to header"
  • Loading branch information
elliotchance committed Oct 14, 2015
2 parents cf3770e + a5fe662 commit 619a031
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 619a031

Please sign in to comment.