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

Commit bdc7c19

Browse files
authoredAug 20, 2020
Update lib/bearerstrategy.js
1 parent 3cc9de1 commit bdc7c19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎lib/bearerstrategy.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ util.inherits(Strategy, passport.Strategy);
287287
Strategy.prototype.jwtVerify = function jwtVerifyFunc(req, token, metadata, optionsToValidate, done) {
288288
const self = this;
289289

290-
let decoded;
290+
let decoded = null;
291291
try {
292292
decoded = jws.decode(token);
293293
} catch (error) {

0 commit comments

Comments
 (0)
This repository has been archived.