过期日期改为30天

This commit is contained in:
lcq 2021-11-08 14:08:52 +08:00
parent 692ab124aa
commit d02c27a8f7
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ exports.session = {
tokenName: 'authorization', // if tokenType not 'cookie', this will be token name, 'jwt' is default 后端字母要小写 tokenName: 'authorization', // if tokenType not 'cookie', this will be token name, 'jwt' is default 后端字母要小写
sign: { sign: {
// sign options is not required // sign options is not required
expiresIn: '604800s' // 7天过期 expiresIn: '2592000s' // 30天过期
}, },
verify: { verify: {
// verify options is not required // verify options is not required