From 22329b83bad14384615353e21c20f02676216cf0 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 20 Mar 2026 06:29:57 +0000 Subject: [PATCH 1/2] Initial plan From e121ed0c9da06ab88b53c79c1cf7e65f2ffa12f5 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 20 Mar 2026 06:31:13 +0000 Subject: [PATCH 2/2] security: remove console.log that exposed plaintext credentials in admin authorize callback Co-authored-by: shammy911 <180457932+shammy911@users.noreply.github.com> --- app/api/auth/[...nextauth]/route.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/api/auth/[...nextauth]/route.ts b/app/api/auth/[...nextauth]/route.ts index 28c8439..cf3150e 100644 --- a/app/api/auth/[...nextauth]/route.ts +++ b/app/api/auth/[...nextauth]/route.ts @@ -70,8 +70,6 @@ export const authOptions = { if (!ok) return null; - console.log("LOGIN ATTEMPT:", credentials); - return { id: admin.id, email: admin.email,