feat(auth): add session configuration with expiration and update age settings

This commit is contained in:
Mauricio Siu 2025-03-15 22:11:37 -06:00
parent ce97bc6c27
commit 10d2493bcc

View File

@ -137,6 +137,10 @@ const { handler, api } = betterAuth({
},
},
},
session: {
expiresIn: 60 * 60 * 24 * 3,
updateAge: 60 * 60 * 24,
},
user: {
modelName: "users_temp",
additionalFields: {