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

Case-insensitive email on the signup form #318

Open
markspolakovs opened this issue Oct 2, 2022 · 0 comments
Open

Case-insensitive email on the signup form #318

markspolakovs opened this issue Oct 2, 2022 · 0 comments

Comments

@markspolakovs
Copy link
Member

The sign-up form validates emails using the regular expression ^[a-z]{1,6}[0-9]{1,6}$, which rejects upper-case letters. This means that when someone signs up and enters their email with upper-case (like some iOS devices have a habit of doing), they get a strange "your email is invalid" error.

We should relax this - either by permitting upper-case characters there, or by lower-casing the email before validating it (using strings.ToLower) - my preference is for the latter.

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

No branches or pull requests

1 participant