mirror of
https://github.com/marcogll/TaxHacker_s23.git
synced 2026-01-13 13:25:18 +00:00
fix: session expires too fast
This commit is contained in:
@@ -34,7 +34,7 @@ export const auth = betterAuth({
|
||||
},
|
||||
session: {
|
||||
strategy: "jwt",
|
||||
maxAge: 180 * 24 * 60 * 60, // 180 days
|
||||
expiresIn: 180 * 24 * 60 * 60, // 365 days
|
||||
updateAge: 24 * 60 * 60, // 24 hours
|
||||
cookieCache: {
|
||||
enabled: true,
|
||||
|
||||
Reference in New Issue
Block a user