laravel / fortify

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

Missing numeric and special character validation password message #204

Closed billygl closed 3 years ago

billygl commented 3 years ago

Description:

There is not the following message in https://github.com/laravel/fortify/blob/1.x/src/Rules/Password.php: The :attribute must be at least :length characters, one number, and contain at least one special character.

Steps To Reproduce:

Use the chaining

 (new Password)
                    ->requireNumeric()
                    ->requireSpecialCharacter()

It shows the default message: The :attribute must be at least :length characters.

driesvints commented 3 years ago

Feel free to PR something.