feat(auth): conditionally disable authentication logger in production

This commit is contained in:
Mauricio Siu 2025-03-01 22:48:09 -06:00
parent c51d63a4df
commit 5fb2866660

View File

@ -14,6 +14,9 @@ const { handler, api } = betterAuth({
provider: "pg",
schema: schema,
}),
logger: {
disabled: process.env.NODE_ENV === "production",
},
appName: "Dokploy",
socialProviders: {
github: {