[Vuejs]-Laravel Password Confirmation Failing Validation

0👍

From Laravel documentation

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.

The validation should be required|confirmed for password field and required for password_confirmation field. Otherwise the validation will try to find password_confirmation_confirmation field to confirm the value.

Please note the rename of the second field from confirm_password to password_confirmation.

Leave a comment