mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-06 12:27:44 +00:00
fix: default to 1 day for session freshness
This commit is contained in:
@@ -43,6 +43,9 @@ export const auth = betterAuth({
|
||||
dialect,
|
||||
type: "sqlite",
|
||||
},
|
||||
session: {
|
||||
freshAge: 0,
|
||||
},
|
||||
emailVerification: {
|
||||
async sendVerificationEmail({ user, url }) {
|
||||
const res = await resend.emails.send({
|
||||
|
||||
Reference in New Issue
Block a user