Skip to content

Commit

Permalink
feat(auth): set session expiry based on interaction expiry env
Browse files Browse the repository at this point in the history
  • Loading branch information
njlie committed Aug 8, 2024
1 parent aac63c7 commit df0eb84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/auth/src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ export class App {
koa.keys = [this.config.cookieKey]

const redis = await this.container.use('redis')
const maxAgeMs = 60 * 1000
const maxAgeMs = this.config.interactionExpirySeconds * 1000
koa.use(
session(
{
Expand Down

0 comments on commit df0eb84

Please sign in to comment.