mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-07 04:19:22 +00:00
fix: clear cache cookies on signout
This commit is contained in:
@@ -28,6 +28,12 @@ export const auth = betterAuth({
|
||||
dialect: libsql,
|
||||
type: "sqlite",
|
||||
},
|
||||
session: {
|
||||
cookieCache: {
|
||||
enabled: true,
|
||||
maxAge: 60,
|
||||
},
|
||||
},
|
||||
emailVerification: {
|
||||
async sendVerificationEmail({ user, url }) {
|
||||
console.log("Sending verification email to", user.email);
|
||||
|
||||
Reference in New Issue
Block a user