Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

users: upper-case email causes issues with user profile #435

Open
cenouralm opened this issue Feb 28, 2023 · 2 comments
Open

users: upper-case email causes issues with user profile #435

cenouralm opened this issue Feb 28, 2023 · 2 comments
Labels

Comments

@cenouralm
Copy link

The issue was moved from the Zenodo board.

Steps to reproduce:

  1. Go to Zenodo (or an Invenio instance) without being logged-in
  2. Sign up and put any part of the email address in upper-case letters (e.g. [email protected])
  3. After that go to the user profile account settings page and try to change your username or full name
  4. An error is returned saying [email protected] is already associated with an account (see screenshot)

image

@ppanero
Copy link
Member

ppanero commented Feb 28, 2023

@cenouralm Unless I'm wrong, email addresses are not case sensitive (i.e. gmail, mailchimp do not accept diff addresses with only capital diffs). I'm not sure this applies.

@lnielsen
Copy link
Member

lnielsen commented Mar 1, 2023

I think the problem here is that it behaves as if it was case-sensitive. With the nickname we store a case preserving field, and a lowercase version of the nick name......I think something similar has to happen for the email, or make sure it's always stored lowered cased.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants