enable cookie cache
This commit is contained in:
parent
10808c78d0
commit
5e06c2ca9f
1 changed files with 6 additions and 0 deletions
|
|
@ -22,4 +22,10 @@ export const auth = betterAuth({
|
|||
},
|
||||
},
|
||||
plugins: [],
|
||||
session: {
|
||||
cookieCache: {
|
||||
enabled: true,
|
||||
maxAge: 5 * 60, // Cache duration in seconds
|
||||
},
|
||||
},
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue