axisj / react-multi-email

:octocat: A simple react component to format multiple email as the user types.
https://react-multi-email.vercel.app/
MIT License
295 stars 73 forks source link

Handle case insensitive duplicate emails #173

Closed ace4port closed 6 months ago

ace4port commented 6 months ago

Duplicate checks are error prone

Either with malicious intent or unknowingly, a user can enter same email multiple times when not checks for case sensitivity.

This PR adds toLowerCase() check when adding new email so duplicate checks are robust.

vercel[bot] commented 6 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-multi-email ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 23, 2024 0:56am