mirror of
https://github.com/hanzoai/node-jsonwebtoken.git
synced 2026-09-24 17:00:48 +00:00
Update index.js
Removed console.log() leftover
This commit is contained in:
@@ -34,8 +34,6 @@ module.exports.sign = function(payload, secretOrPrivateKey, options) {
|
||||
module.exports.verify = function(jwtString, secretOrPublicKey, options, callback) {
|
||||
if ((typeof options === 'function') && !callback) callback = options, options = null;
|
||||
if (!options) options = {};
|
||||
|
||||
console.log("options: %s", options);
|
||||
|
||||
if (!jwtString)
|
||||
return callback(new JsonWebTokenError('jwt must be provided'));
|
||||
|
||||
Reference in New Issue
Block a user