Skip to content

Bug: Duplicate customers can be created due to case-sensitive email validation #690

Closed

Description

@naveed-jameel-comsian

The system allows creation of duplicate customer accounts when the email addresses differ only by letter casing (e.g., uppercase vs lowercase). Email validation appears to be case-sensitive, which allows multiple accounts with effectively the same email address.

Steps to Reproduce
Create a new customer with email [email protected]
Save the customer
Create another customer with email [email protected]
Save the customer

Expected Behavior
Email validation should be case-insensitive.
The system should detect this as a duplicate email.
Customer creation should fail with a duplicate email error message.

Actual Behavior
The system allows both customers to be created.
Duplicate email validation does not trigger when casing differs.

Video Link : https://drive.google.com/file/d/1lqvytCO24wzhXQIxQevIRmIr1Pao3P43/view

Activity

  1. added 2 commits that reference this issue on Mar 6, 2026
    9f0921b
    0c2c872
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions