Skip to content

Commit

Permalink
feat: change ui session timeout to 7 days
Browse files Browse the repository at this point in the history
  • Loading branch information
iamKunalGupta committed Feb 12, 2024
1 parent 2ab1609 commit 9a8091c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/app/auth/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const authOptions: AuthOptions = {
debug: false,
session: {
strategy: 'jwt',
maxAge: 60 * 60, // 1h
maxAge: 24 * 7 * 60 * 60, // 1 week
},
// adapter: PrismaAdapter(prisma),
secret: Configuration.authentication.NEXTAUTH_SECRET,
Expand Down

0 comments on commit 9a8091c

Please sign in to comment.