Skip to content

Commit

Permalink
Remove duplicate payload line (fix bug in IE strict mode)
Browse files Browse the repository at this point in the history
  • Loading branch information
levibotelho committed Oct 7, 2015
1 parent c7e34bb commit 8163d69
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ JWT.sign = function(payload, secretOrPrivateKey, options, callback) {
if(typeof callback === 'function') {
jws.createSign({
header: header,
payload: payload,
privateKey: secretOrPrivateKey,
payload: JSON.stringify(payload)
}).on('done', callback);
Expand Down

0 comments on commit 8163d69

Please sign in to comment.