Merge pull request #1504 from Dokploy/refactor/adjust-expiration-session

feat(auth): add session configuration with expiration and update age …
This commit is contained in:
Mauricio Siu 2025-03-15 22:11:56 -06:00 committed by GitHub
commit 5d4db4d0f3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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: {