Permalink
Browse files

Don't remove x_auth_type for Twitter reverse auth

  • Loading branch information...
1 parent e863f25 commit 3e5a87ce28b3bb45861b32f283cd20d0084d78a7 @drudge drudge 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 3e5a87c

Please sign in to comment.