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

Downcase email addresses at account creation time #1624

Open
lizadaly opened this issue Jul 13, 2022 · 1 comment
Open

Downcase email addresses at account creation time #1624

lizadaly opened this issue Jul 13, 2022 · 1 comment

Comments

@lizadaly
Copy link
Contributor

We're doing a case-insensitive check at invitation time now, but @cath9 and I agree we should just go ahead and force-lower all new incoming email addresses at account creation. If someone tries to log in with mixed case that'll fail unless we also lower-cased all existing legacy addresses first. Given the number of accounts I think it's probably fine to just handle those as needed.

Originally posted by @lizadaly in #1363 (comment)

@lizadaly
Copy link
Contributor Author

lizadaly commented Feb 2, 2023

It looks like login already downcases the hostname portion, so we're talking about doing something similar for the username portion: https://github.com/harvard-lil/h2o/blob/develop/web/main/authenticator.py

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

No branches or pull requests

1 participant