Skip to content
This repository has been archived by the owner on Apr 16, 2019. It is now read-only.

Commit

Permalink
Fixes #16
Browse files Browse the repository at this point in the history
  • Loading branch information
Eran Hammer committed May 26, 2013
1 parent 5d1ee7f commit fade07d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ticket.js
Expand Up @@ -162,7 +162,7 @@ exports.generate = function (ticket, encryptionPassword, callback) {
return callback(random);
}

ticket.key = random.toString('hex');
ticket.key = random;
ticket.algorithm = exports.settings.hmacAlgorithm;

// Seal ticket
Expand Down

0 comments on commit fade07d

Please sign in to comment.