Skip to content

Commit

Permalink
Fix expiration token data type
Browse files Browse the repository at this point in the history
  • Loading branch information
hlogeon committed Nov 12, 2018
1 parent bf91c12 commit 1e5084c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export default {
jwt: {
algorithm: 'HS256',
secretSeparator: ':',
expiration: JWT_KEY_EXP || 604800,
expiration: parseInt(JWT_KEY_EXP) || 604800,
secret: JWT_KEY || 'uZrJ!xe*xN?!;oU.u*;QOSM+|=4C?WH?6eWPcK/6AkIXIVGQguSA*r'
},
redis: {
Expand Down

0 comments on commit 1e5084c

Please sign in to comment.