Skip to content

Scheduling infrastructure for absolutely everyone.

Let email case sensitive (#1357)

Omar López3bc659af44b9
diff --git a/pages/api/auth/[...nextauth].tsx b/pages/api/auth/[...nextauth].tsx
index c13174691da..68c5140e67d 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,
},
});