Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

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.
Source by laravel.com #
 
PREVIOUS NEXT
Tagged: #confirm #password #validation #laravel
ADD COMMENT
Topic
Name
4+5 =