Skip to content

Commit

Permalink
Let email case sensitive (calcom#1357)
Browse files Browse the repository at this point in the history
  • Loading branch information
zomars authored Dec 19, 2021
1 parent cbf528c commit 3bc659a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/api/auth/[...nextauth].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default NextAuth({
async authorize(credentials) {
const user = await prisma.user.findUnique({
where: {
email: credentials.email.toLowerCase(),
email: credentials.email,
},
});

Expand Down

0 comments on commit 3bc659a

Please sign in to comment.