From 3bc659af44b927d8a520f8a09ec886c3bcd4091d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Omar=20L=C3=B3pez?= Date: Sun, 19 Dec 2021 14:01:25 -0700 Subject: [PATCH] Let email case sensitive (#1357) --- pages/api/auth/[...nextauth].tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, }, });