-
Notifications
You must be signed in to change notification settings - Fork 70
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
feat: make sure emails are lowercase and valid #1451
Conversation
57e5b14
to
4654ae5
Compare
|
It is also relevant to v4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider adding validation to the field instead of force converting to the lowercase string!
because the emails are lowercased by our backend, and when an uppercase email is provided, our backend replies with a lowercased version of it, and
|
4654ae5
to
c207f5a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Regexp is wrong and please use validation
helpers
c207f5a
to
2e2e196
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
About this change—what it does
makes sure emails are lowercase and valid
uppercase emails are not accepted by our backend
resolves #1450
Why this way
it should be this way