mirror of
https://github.com/openstf/stf
synced 2025-10-04 10:19:30 +02:00
Update jws to 3.0.0.
This commit is contained in:
parent
4d0e8775cb
commit
7ad09d6713
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ module.exports.encode = function(options) {
|
|||
}
|
||||
|
||||
module.exports.decode = function(payload, secret) {
|
||||
if (!jws.verify(payload, secret)) {
|
||||
if (!jws.verify(payload, 'HS256', secret)) {
|
||||
return null
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue