Skip to content

[TRI-2630] Logging in with the same email but different case creates a new account #1144

Open
@matt-aitken

Description

@matt-aitken
Member

If you login with test@gmail.com and test@Gmail.com you will create two accounts.

From SyncLinear.com | TRI-2630

Activity

changed the title [-]Logging in with the same email but different case creates a new account[/-] [+][TRI-2630] Logging in with the same email but different case creates a new account[/+] on Jun 2, 2024
hunxjunedo

hunxjunedo commented on Jun 2, 2024

@hunxjunedo

@matt-aitken kindly assign this issue to me, would like to contribute.

matt-aitken

matt-aitken commented on Jun 3, 2024

@matt-aitken
MemberAuthor

...@gmail.com and ...@Gmail.com can be treated as equivalent because DNS specifies that domain names are to be compared in a case-insensitive manner. But the same is not true for the user/mailbox part of an address, that should actually be case sensitive so we should create multiple accounts for those.

image

matt-aitken

matt-aitken commented on Jun 3, 2024

@matt-aitken
MemberAuthor
  • test@gmail.com and test@Gmail.com should be the same account.
    test@gmail.com and Test@Gmail.com should be different accounts.
matt-aitken

matt-aitken commented on Jun 3, 2024

@matt-aitken
MemberAuthor

@hunxjunedo I've assigned this to you 👍

I've also added some more comments above about what exactly should cause a duplicate and what shouldn't

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Participants

    @matt-aitken@hunxjunedo

    Issue actions

      [TRI-2630] Logging in with the same email but different case creates a new account · Issue #1144 · triggerdotdev/trigger.dev