docs: fix typo (#298)

This commit is contained in:
limichange
2024-10-23 13:01:13 +08:00
committed by GitHub
parent c7be5615d7
commit b9a42d11d2

View File

@@ -27,7 +27,7 @@ import { betterAuth } from "better-auth"
export const auth = betterAuth({
//... other config options
session: {
expiresIn: 60 * 60 * 24 * 7 // 7 days,
expiresIn: 60 * 60 * 24 * 7, // 7 days
updateAge: 60 * 60 * 24 // 1 day (every 1 day the session expiration is updated)
}
})