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

Lowercase email on registration #319

Closed
wants to merge 2 commits into from
Closed

Lowercase email on registration #319

wants to merge 2 commits into from

Conversation

taylorotwell
Copy link
Member

Similar to: laravel/fortify#485

Postgres is case sensitive when comparing strings. If someone is using Breeze with Postgres they could have users register accounts with "taylor@laravel.com" and "Taylor@Laravel.com" for example without any errors.

This fixes that by lowercasing emails on registration like Fortify / Jetstream now does by default.

@nunomaduro nunomaduro self-assigned this Oct 11, 2023
@nunomaduro nunomaduro marked this pull request as draft October 11, 2023 11:33
@nunomaduro
Copy link
Member

Duplicated of #321.

@nunomaduro nunomaduro closed this Oct 11, 2023
@nunomaduro nunomaduro deleted the lowercase-email branch October 11, 2023 14:41
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

Successfully merging this pull request may close these issues.

2 participants