Skip to content

Commit

Permalink
session expiration to 12 hours
Browse files Browse the repository at this point in the history
  • Loading branch information
davidsingal committed Dec 15, 2023
1 parent 107f19c commit b98475f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/pages/api/auth/[...nextauth].ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const options: NextAuthOptions = {

session: {
strategy: 'jwt',
maxAge: 2 * 60 * 60, // 2 hours
maxAge: 12 * 60 * 60, // 12 hours
},
// Configure one or more authentication providers
providers: [
Expand Down

0 comments on commit b98475f

Please sign in to comment.