Registration - Password Requirement
Durign a new user signup, is there a place to modify the requirements for the password field?
I'm using the Breezy plugin which allows setting such things on the profile update once logged in, but not for the initial signup.
Solution:Jump to solution
Laravel News
Defining Default Password Validation Rules in Laravel - Laravel News
The Password Validation Rule Object now supports the ability to define default password rules you can use across your application.
10 Replies
I guess you need to extend the
RegisterPage
and overwrite the formThanks, will take a look. Did not like that users can signup with credentials like "password"
You can probably just overwrite Laravel Password defaults
Solution
Laravel News
Defining Default Password Validation Rules in Laravel - Laravel News
The Password Validation Rule Object now supports the ability to define default password rules you can use across your application.
Ah hey, perfect - didn't know that existed
Usuallly I'd just go for
->uncompromised()
and min length
Anything else will just lead to users picking stupid passwords to fit the ruleswe had to sign a DPA that has a lot of requirements π¦
Well that sucks π