-
-
Save cursosdesarrolloweb/684c6b980d31d3a22570163ea91ff8db to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Illuminate\Validation\Rules\Password; | |
// más código | |
'password' => [ | |
'required', | |
'max:50', | |
Password::min(8) | |
->mixedCase() | |
->letters() | |
->numbers() | |
->symbols() | |
->uncompromised(), | |
], | |
"password_confirmation" => "required|min:8|max:50|same:password", |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment