Answers for "laravel validate new password current password"

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
1

validate password laravel

$request->validate([
            'email' =>'required|exists:users',
            'password'=>'required|password'
        ]);
Posted by: Guest on July-07-2021

Code answers related to "laravel validate new password current password"

Browse Popular Code Answers by Language