Skip to content

Commit

Permalink
remove redundant inline comment in isValid method
Browse files Browse the repository at this point in the history
  • Loading branch information
nelsonic committed Nov 23, 2016
1 parent a7abaef commit 1e77329
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/extract.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ module.exports = function extract (request, options) {
* @returns {Boolean} true|false - true if JWT is valid. false if invalid.
*/
module.exports.isValid = function isValid (token) {
// rudimentary see: for JWT format
return token.split('.').length === 3;
};

0 comments on commit 1e77329

Please sign in to comment.