Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
✨ Enable cookie cache (#2234)
Luke Vella5b25b2ef16d8
diff --git a/apps/web/src/lib/auth.ts b/apps/web/src/lib/auth.tsindex d0c4cb9c5..3a13eb693 100644--- a/apps/web/src/lib/auth.ts+++ b/apps/web/src/lib/auth.ts@@ -352,6 +352,10 @@ export const authLib = betterAuth({session: {expiresIn: 60 * 60 * 24 * 60, // 60 daysupdateAge: 60 * 60 * 24, // 1 day+ cookieCache: {+ enabled: true,+ maxAge: 5 * 60, // 5 minutes+ },},baseURL,});