Skip to content

Commit

Permalink
fix: removed unexpected console.logs #10034 (#10051)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajstars1 committed Feb 17, 2024
1 parent dbaa2e7 commit 7040c4f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/next-auth/src/lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,6 @@ export function initAuth(
...args: Parameters<NextAuthMiddleware | AppRouteHandlerFn>
) => {
return handleAuth(args, config, userMiddlewareOrRoute).then((res) => {
console.log(Object.fromEntries(res.headers))
return res
})
}
Expand Down Expand Up @@ -273,9 +272,6 @@ async function handleAuth(
for (const cookie of sessionResponse.headers.getSetCookie())
finalResponse.headers.append("set-cookie", cookie)

console.log(Object.fromEntries(finalResponse.headers))
console.log(Object.fromEntries(response.headers))

return finalResponse
}

Expand Down

0 comments on commit 7040c4f

Please sign in to comment.