diff --git a/pages/api/auth/[...nextauth].tsx b/pages/api/auth/[...nextauth].tsx index c1317469..68c5140e 100644 --- a/pages/api/auth/[...nextauth].tsx +++ b/pages/api/auth/[...nextauth].tsx @@ -29,7 +29,7 @@ export default NextAuth({ async authorize(credentials) { const user = await prisma.user.findUnique({ where: { - email: credentials.email.toLowerCase(), + email: credentials.email, }, });