Skip to content

Commit

Permalink
Merge pull request #369 from drudge/master
Browse files Browse the repository at this point in the history
Don't remove x_auth_mode for Twitter reverse auth
  • Loading branch information
mikeal committed Nov 9, 2012
2 parents e863f25 + 3e5a87c commit db26557
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -883,7 +883,10 @@ Request.prototype.oauth = function (_oauth) {
// skip
} else {
delete oa['oauth_'+i]
delete oa[i]

if (i !== 'x_auth_type') {
delete oa[i]
}
}
}
this.headers.Authorization =
Expand Down

0 comments on commit db26557

Please sign in to comment.