I would like to know how to check whether the entered by user passwords are the same? I need solution for validation.yml file. I have something like that:
ZaqU\MyBundle\Entity\SignupForm: properties: password: - NotBlank: message: trans.validation.password.notBlank - Length: min: 8 max: 30 minMessage: trans.validation.password.minLength maxMessage: trans.validation.password.maxLength rpassword: - NotBlank: message: trans.validation.rpassword.notBlank
What I should add to rpassword from this list: http://symfony.com/doc/current/reference/constraints.html ?