Skip to content

Commit ec447dc

Browse files
committed
Merge pull request auth0#129 from LeviBotelho/master
Remove duplicate payload line (fix bug in IE strict mode)
2 parents c7e34bb + 8163d69 commit ec447dc

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

index.js

Lines changed: 0 additions & 1 deletion
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)