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

When user assign an email to it's profile, it is lower cased #5842

Open
3 tasks
Tracked by #6436
alexgarel opened this issue Oct 6, 2021 · 3 comments
Open
3 tasks
Tracked by #6436

When user assign an email to it's profile, it is lower cased #5842

alexgarel opened this issue Oct 6, 2021 · 3 comments
Labels
⏰ Stale This issue hasn't seen activity in a while. You can try documenting more to unblock it. 📝 story 👥 User management

Comments

@alexgarel
Copy link
Member

alexgarel commented Oct 6, 2021

Description

  • On subscription when a user enter an email with upper cases inside, it is automatically registered in lower case format
  • On profile, if a user changes hes email for an email with upper cases inside, it is automatically saved in lower case format

Acceptance criteria

  • Old users that have entered an email with upper cases in the past, now have a lowercase email
  • if a there is different users for same emails with different cases, the user with upper cases in email is disabled, we only keep the one with the lower cased email
  • if a user try a registration with an email with upper case but there is already an existing with same email in lowercase, registrations fails
  • if a user tries to login with an email with upper cases, it is logged in with lower cased email (already implemented in Try lowercase email on password reset, fixes #5807 #5812)
  • if a user asks for password reset with an email with upper cases, it is logged in with lower cased email (already implemented in Try lowercase email on password reset, fixes #5807 #5812)

What would a demo look like

Notes

  • For old users we need to do a migration script

Tasks

  • Modify registration to lower case email
  • Modify user profile change to lower case email
  • Make a script to change old users emails that needs to be lowercased

Part of

@alexgarel
Copy link
Member Author

@stephanegigandet and @teolemon it relates to #5807 but I imagine it's not urgent, right ?

@stephanegigandet
Copy link
Contributor

It's been like that for 10 years so no special urgency. It would be nice to fix though.

@github-actions
Copy link
Contributor

This issue is stale because it has been open 90 days with no activity.

@github-actions github-actions bot added the ⏰ Stale This issue hasn't seen activity in a while. You can try documenting more to unblock it. label Jan 10, 2022
@teolemon teolemon moved this to To discuss and validate in 🍊 Open Food Facts Server issues Apr 23, 2024
@teolemon teolemon added the 🐛 bug This is a bug, not a feature request. label Jul 19, 2024
@teolemon teolemon removed the 🐛 bug This is a bug, not a feature request. label Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⏰ Stale This issue hasn't seen activity in a while. You can try documenting more to unblock it. 📝 story 👥 User management
Projects
Status: To discuss and validate
Development

No branches or pull requests

3 participants