made the email field case-insensitive

This commit is contained in:
Daniel
2023-07-04 00:13:53 +03:30
parent ae1682ad55
commit ddc0675d2e
9 changed files with 19 additions and 15 deletions
+1 -1
View File
@@ -72,7 +72,7 @@ export default async function updateUser(
},
data: {
name: user.name,
email: user.email,
email: user.email.toLowerCase(),
isPrivate: user.isPrivate,
whitelistedUsers: user.whitelistedUsers,
},