diff --git a/pages/api/auth/[...nextauth].tsx b/pages/api/auth/[...nextauth].tsx index c13174691d..68c5140e67 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, }, });