update maxAge session

This commit is contained in:
Sonny
2022-05-10 21:37:25 +02:00
parent 339b651dfc
commit db1867e819

View File

@@ -57,5 +57,8 @@ export default NextAuth({
pages: {
signIn: '/signin',
error: '/signin'
},
session: {
maxAge: 60 * 60 * 6 // Session de 6 heures
}
});