mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 08:13:31 +02:00
remove default expiry in jwt token
This commit is contained in:
@@ -82,6 +82,9 @@ module.exports = function(options) {
|
||||
, name: user.cn
|
||||
}
|
||||
, secret: options.secret
|
||||
, header: {
|
||||
exp: Date.now() + 24 * 3600
|
||||
}
|
||||
})
|
||||
res.status(200)
|
||||
.json({
|
||||
|
||||
Reference in New Issue
Block a user