mirror of
https://github.com/openstf/stf
synced 2025-10-04 18:29:17 +02:00
remove default expiry in jwt token
This commit is contained in:
parent
9cb231391a
commit
8a342daef9
5 changed files with 25 additions and 14 deletions
|
@ -39,6 +39,9 @@ module.exports = function(options) {
|
|||
, name: req.user.email.split('@', 1).join('')
|
||||
}
|
||||
, secret: options.secret
|
||||
, header: {
|
||||
exp: Date.now() + 24 * 3600
|
||||
}
|
||||
})
|
||||
}))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue