Skip to content

Commit 646867c

Browse files
authored
Merge pull request #316 from AliceO2Group/bug/02B-385
JWT Default configuration 1 year
2 parents ac53813 + 6385140 commit 646867c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/config/jwt.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313

1414
// Default configuration
1515
let secret = null;
16-
let expiration = '1d';
16+
let expiration = '1y';
1717
let issuer = 'o2-ui';
18-
let maxAge = '7d';
18+
let maxAge = '1y';
1919

2020
if (process.env.JWT_SECRET) {
2121
secret = process.env.JWT_SECRET;

0 commit comments

Comments
 (0)