fix: normalize email case to prevent duplicate accounts
Closes #1144
✅ Checklist
- [x] I have followed every step in the contributing guide
- [x] The PR title follows the convention.
- [x] I ran and tested the code works
Changelog
Normalize email case to prevent duplicate accounts
💯
⚠️ No Changeset found
Latest commit: fd436455069e63cd8223ffbd8521676690197685
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
We didn't forget about this, but we're not sure about changing the current behaviour. We'll also have to consider what happens to existing users with "duplicate" accounts that have different email casings. I'll convert this to draft to prevent confusion.