Answers for "how to make custom validation for confirm password in laravel 7"

PHP
10

confirm password validation laravel

'password' => 'required|confirmed',

reference : https://laravel.com/docs/4.2/validation#rule-confirmed

The field under validation must have a matching field of foo_confirmation. 
For example, if the field under validation is password, a matching
password_confirmation field must be present in the input.
Posted by: Guest on August-02-2020
1

confirm password validation in laravel

$this->validate($request, [
    'name' => 'required|min:3|max:50',
    'email' => 'email',
    'vat_number' => 'max:13',
    'password' => 'required|confirmed|min:6',
]);
Posted by: Guest on February-02-2021

Code answers related to "how to make custom validation for confirm password in laravel 7"

Browse Popular Code Answers by Language