Skip to content

Email field should always be lowercase #120

@bosiraphael

Description

@bosiraphael

Scope & Context

Currently, users are able to create the same email but with different cases.
Emails should always be stored in lowercase.

Technical inputs

For the emailsPrimaryEmail and emailsSecondaryEmails:

  • Add frontend validation
  • Add backend validation (there is no backend validation for the emails at the moment, we don't even check that it's a valid email) and return an error if the email is not in lowercase
  • Create a script to set all the existing emails to lowercase

Metadata

Metadata

Assignees

Type

No type

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions