Skip to content
This repository has been archived by the owner on Aug 28, 2023. It is now read-only.

fix BearerStrategy.call _extend leaving out req. fixes #112 #116

Merged
merged 1 commit into from
Jun 10, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/bearerstrategy.js
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ function Strategy(options, verifyFn) {

// force passReqToCallback to be `true` for our decoding verify wrapper
/* eslint-disable no-underscore-dangle */
BearerStrategy.call(this, util._extend({}, opts, { passReqToCallback: true }), jwtVerify);
BearerStrategy.call(this, util._extend(opts, { passReqToCallback: true }), jwtVerify);
/* eslint-enable no-underscore-dangle */

this.name = 'oauth-bearer'; // Me, a name I call myself.
Expand Down