Skip to content

Commit b2598d7

Browse files
committed
fix: next-auth
1 parent a019b7a commit b2598d7

File tree

3 files changed

+8
-11
lines changed

3 files changed

+8
-11
lines changed

lib/auth.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ export const authOptions: NextAuthOptions = {
1515
// This is a temporary fix for prisma client.
1616
// @see https://github.com/prisma/prisma/issues/16117
1717
adapter: PrismaAdapter(db as any),
18-
debug: true,
1918
session: {
2019
strategy: "jwt",
2120
},
@@ -64,8 +63,6 @@ export const authOptions: NextAuthOptions = {
6463
],
6564
})
6665

67-
console.log({ result })
68-
6966
if (result.ErrorCode) {
7067
throw new Error(result.Message)
7168
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
"date-fns": "^2.29.3",
6868
"lucide-react": "^0.92.0",
6969
"next": "^13.3.1",
70-
"next-auth": "^4.22.1",
70+
"next-auth": "4.22.0",
7171
"next-contentlayer": "^0.3.1",
7272
"next-themes": "^0.2.1",
7373
"nodemailer": "^6.9.1",

pnpm-lock.yaml

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)