Normalize email when inviting memebers and logging in.

This commit is contained in:
Killian
2023-08-15 15:57:27 +01:00
parent 11bb0d648f
commit cb42db3de4
2 changed files with 5 additions and 3 deletions
@@ -60,7 +60,7 @@ type Props = {
};
const addMemberFormSchema = yup.object({
email: yup.string().email().required().label("Email").trim()
email: yup.string().email().required().label("Email").trim().lowercase()
});
type TAddMemberForm = yup.InferType<typeof addMemberFormSchema>;