Permalink
Browse files

Merge pull request #369 from drudge/master

Don't remove x_auth_mode for Twitter reverse auth
  • Loading branch information...
2 parents e863f25 + 3e5a87c commit db2655746e618d7960d4817aebb0100b55acc59f @mikeal mikeal committed Nov 9, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 main.js
View
@@ -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 =

0 comments on commit db26557

Please sign in to comment.