Answers for "laravel change password old password validation"

2

how validate the password to strong password in laravel

use IlluminateValidationRulesPassword;


$request->validate([
    'password' => [
        'required',
        'confirmed',
        Password::min(8)
            ->mixedCase()
            ->letters()
            ->numbers()
            ->symbols()
            ->uncompromised(),
    ],
]);
Posted by: Guest on July-06-2021

Code answers related to "laravel change password old password validation"

Browse Popular Code Answers by Language