mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 08:53:23 +02:00
Update jws to 3.0.0.
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user