Skip to content

Commit

Permalink
Parse data without the digest
Browse files Browse the repository at this point in the history
  • Loading branch information
blakeembrey committed Apr 19, 2017
1 parent 5b36aed commit 03788a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export class Cookie {
const digest = value.substr(index + 1)

if (this.keys.verify(data, digest)) {
return parseValue(value)
return parseValue(data)
}

return
Expand Down

0 comments on commit 03788a4

Please sign in to comment.