diff --git a/apps/web/pages/api/auth/[...nextauth].tsx b/apps/web/pages/api/auth/[...nextauth].tsx index b4cb08764f..cadc3c7f01 100644 --- a/apps/web/pages/api/auth/[...nextauth].tsx +++ b/apps/web/pages/api/auth/[...nextauth].tsx @@ -342,7 +342,7 @@ export default NextAuth({ if (user) { const metadata = userMetadata.parse(user.metadata); if (metadata?.sessionTimeout) { - maxAge = metadata.sessionTimeout / 60; + maxAge = metadata.sessionTimeout * 60; } } }