laravel / fortify

Backend controllers and scaffolding for Laravel authentication.
https://laravel.com/docs/fortify
MIT License
1.62k stars 294 forks source link

Password reset requests don't respect lowercase_usernames setting #561

Closed mattmcdonald-uk closed 3 months ago

mattmcdonald-uk commented 3 months ago

Fortify Version

1.23.0

Laravel Version

11.20.0

PHP Version

8.3.x

Database Driver & Version

No response

Description

When setting lowercase_usernames to true attempts to request password reset links will use the case sensitive user input.

Steps To Reproduce

Set lowercase_usernames => true in config/fortify.php

Register a user account with the email test@example.org

Request a password reset email with the email TEST@example.org

driesvints commented 3 months ago

You've sent a PR so let's see how it goes.