diff --git a/reference/constraints/UserPassword.rst b/reference/constraints/UserPassword.rst index dc0dfcab277..c7e1b3ce5ca 100644 --- a/reference/constraints/UserPassword.rst +++ b/reference/constraints/UserPassword.rst @@ -7,10 +7,10 @@ UserPassword .. note:: Since Symfony 2.2, the `UserPassword*` classes in the - `Symfony\Component\Security\Core\Validator\Constraint` namespace are + `Symfony\\Component\\Security\\Core\\Validator\\Constraint` namespace are deprecated and will be removed in Symfony 2.3. Please use the `UserPassword*` classes in the - `Symfony\Component\Security\Core\Validator\Constraints` namespace instead. + `Symfony\\Component\\Security\\Core\Validator\\Constraints` namespace instead. This validates that an input value is equal to the current authenticated user's password. This is useful in a form where a user can change his password,