🛂 Increase JWT exp time (#1607)

This commit is contained in:
Luke Vella 2025-03-03 20:57:37 +00:00 committed by GitHub
parent 57406b8843
commit 547a24c6e1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -55,6 +55,16 @@ const {
session: {
strategy: "jwt",
},
jwt: {
maxAge: 60 * 60 * 24 * 60,
},
cookies: {
sessionToken: {
options: {
maxAge: 60 * 60 * 24 * 60,
},
},
},
events: {
signIn({ user, account }) {
if (user.id) {