Skip to content

Commit 8163d69

Browse files
committedOct 7, 2015
Remove duplicate payload line (fix bug in IE strict mode)
1 parent c7e34bb commit 8163d69

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed
 

‎index.js

-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ JWT.sign = function(payload, secretOrPrivateKey, options, callback) {
105105
if(typeof callback === 'function') {
106106
jws.createSign({
107107
header: header,
108-
payload: payload,
109108
privateKey: secretOrPrivateKey,
110109
payload: JSON.stringify(payload)
111110
}).on('done', callback);

0 commit comments

Comments
 (0)
Please sign in to comment.