mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-11 16:53:05 +00:00
feat: session expiration delay set to default
This commit is contained in:
@@ -125,8 +125,5 @@ export const authOptions = {
|
|||||||
error: PATHS.LOGIN,
|
error: PATHS.LOGIN,
|
||||||
signOut: PATHS.LOGOUT,
|
signOut: PATHS.LOGOUT,
|
||||||
},
|
},
|
||||||
session: {
|
|
||||||
maxAge: 60 * 60 * 6, // Session de 6 heures
|
|
||||||
},
|
|
||||||
} as NextAuthOptions;
|
} as NextAuthOptions;
|
||||||
export default NextAuth(authOptions);
|
export default NextAuth(authOptions);
|
||||||
|
|||||||
Reference in New Issue
Block a user