We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84a864d commit f07218eCopy full SHA for f07218e
packages/auth/src/auth.ts
@@ -178,7 +178,7 @@ export const auth = betterAuth({
178
expiresIn: 60 * 60 * 24 * 30, // 30 days
179
updateAge: 60 * 60 * 24 * 3, // 1 day (every 1 day the session expiration is updated)
180
storeSessionInDatabase: true, // Store session in database when secondary storage is provided
181
- preserveSessionInDatabase: false, // Preserve session records in database when deleted from secondary storage
+ preserveSessionInDatabase: true, // Preserve session records in database when deleted from secondary storage
182
},
183
secondaryStorage: {
184
get: async (key) => {
0 commit comments