laravel / fortify

Backend controllers and scaffolding for Laravel authentication.

Home Page:https://laravel.com/docs/fortify

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

add support length for requireUppercase requireNumeric requireSpecialCharacter for Password class

devbapidey opened this issue · comments

We need a minimum count for uppercase, numeric, special character. So before

(new Password)
                ->length(12)
                ->requireUppercase()
                ->requireNumeric()
                ->requireSpecialCharacter()

after
(new Password) ->length(12) ->requireUppercase(3) ->requireNumeric(3) ->requireSpecialCharacter(3)

Sorry, realized this is the fortify repo.

Feel free to attempt a PR if you want. This probably needs to go into master.