Skip to content

Email case sensitivity #378

Open
@smartspot2

Description

@smartspot2

When creating new users, the email field seems to be case sensitive, allowing for two users to be created where one has the email "user@berkeley.edu" and the other with "User@berkeley.edu". This runs into a major issue with the Google OAuth, as the authentication system detects two different users with the same email, throwing an error, not allowing the user to log in and view anything at all.

This should be explored a little more though, as it seems like by formal specification, it's up to the mail server whether they view emails as case-sensitive or not (everything after the @ is always mandated to be lower case). This means Django's EmailField would understandably be case-sensitive as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingsev3High severity - Production system impaired

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions