Skip to content

Commit

Permalink
feat(auth): set session expiry based on interaction expiry env (#2851)
Browse files Browse the repository at this point in the history
  • Loading branch information
njlie authored Aug 9, 2024
1 parent 4a43281 commit d4ebe14
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 d4ebe14

Please sign in to comment.