Skip to content

Commit a019b7a

Browse files
committed
fix: turn on debuggin
1 parent 8e324c9 commit a019b7a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/auth.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ 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,
1819
session: {
1920
strategy: "jwt",
2021
},
@@ -63,6 +64,8 @@ export const authOptions: NextAuthOptions = {
6364
],
6465
})
6566

67+
console.log({ result })
68+
6669
if (result.ErrorCode) {
6770
throw new Error(result.Message)
6871
}

0 commit comments

Comments
 (0)