Skip to content

Commit

Permalink
Update cookie session time to 24 hours.
Browse files Browse the repository at this point in the history
  • Loading branch information
abdulla-ashurov committed Sep 29, 2023
1 parent 4a6db6f commit 51d2cda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class App {
(function () {
throw new Error('COOKIE_SECRET is not defined');
})(),
cookie: { maxAge: 14 * 24 * 60 * 60 },
cookie: { maxAge: 24 * 60 * 60 * 1000 }, // 24 hours
})
);
// Authentication functions/methods
Expand Down

0 comments on commit 51d2cda

Please sign in to comment.