Login, logout and middleware updates
This commit is contained in:
parent
f552f8024f
commit
9fb3665ced
18 changed files with 96 additions and 50 deletions
|
|
@ -110,7 +110,7 @@ export const authOptions: NextAuthOptions = {
|
|||
},
|
||||
providers,
|
||||
session: {
|
||||
maxAge: 7 * 24 * 60 * 60,
|
||||
maxAge: 3 * 24 * 60 * 60,
|
||||
},
|
||||
secret: process.env.NEXTAUTH_SECRET,
|
||||
callbacks: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue