File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
lib/passport-http-oauth/strategies Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -191,7 +191,7 @@ ConsumerStrategy.prototype.authenticate = function(req) {
191191 , verifier = params [ 'oauth_verifier' ]
192192 , version = params [ 'oauth_version' ]
193193
194- if ( version && ( version !== '1.0' && version . toUpperCase ( ) !== '1.0A' ) ) {
194+ if ( version && version !== '1.0' ) {
195195 return this . fail ( this . _challenge ( 'version_rejected' ) , 400 ) ;
196196 }
197197
Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ TokenStrategy.prototype.authenticate = function(req) {
182182 , nonce = params [ 'oauth_nonce' ]
183183 , version = params [ 'oauth_version' ]
184184
185- if ( version && ( version !== '1.0' && version . toUpperCase ( ) !== '1.0A' ) ) {
185+ if ( version && version !== '1.0' ) {
186186 return this . fail ( this . _challenge ( 'version_rejected' ) , 400 ) ;
187187 }
188188
You can’t perform that action at this time.
0 commit comments