Missing numeric and special character validation password message
billygl opened this issue · comments
Billy Grados commented
- Fortify Version: 1.7.5
- Laravel Version: 8.23.1
- PHP Version: 7.4.9
- Database Driver & Version: MariaDB 10.3.23-MariaDB
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.
Dries Vints commented
Feel free to PR something.