diff --git a/lib/better-auth/auth.ts b/lib/better-auth/auth.ts index 7422f19..8ad0f08 100644 --- a/lib/better-auth/auth.ts +++ b/lib/better-auth/auth.ts @@ -21,7 +21,7 @@ export const getAuth = async () => { authInstance = betterAuth({ database: mongodbAdapter(db as any), - secret: process.env.BETER_AUTH_SECRET, + secret: process.env.BETTER_AUTH_SECRET, baseURL: process.env.BETTER_AUTH_URL, emailAndPassword: { enabled: true,