Skip to content

Commit

Permalink
过期日期改为30天
Browse files Browse the repository at this point in the history
  • Loading branch information
luchenqun committed Nov 8, 2021
1 parent 692ab12 commit d02c27a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config/adapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ exports.session = {
tokenName: 'authorization', // if tokenType not 'cookie', this will be token name, 'jwt' is default 后端字母要小写
sign: {
// sign options is not required
expiresIn: '604800s' // 7天过期
expiresIn: '2592000s' // 30天过期
},
verify: {
// verify options is not required
Expand Down

0 comments on commit d02c27a

Please sign in to comment.