From ec8033df06b2fbbf3f5326371e5389a24d8c15fc Mon Sep 17 00:00:00 2001 From: "Mr. Algorithm" <11aravipratapsingh@gmail.com> Date: Sat, 4 Oct 2025 01:05:50 +0530 Subject: [PATCH] Update lib/better-auth/auth.ts Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --- lib/better-auth/auth.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,