Skip to content

Commit 7fd28f2

Browse files
committed
[Reference] [UserPassword] Updated deprecation note
1 parent cb1315c commit 7fd28f2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

reference/constraints/UserPassword.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ UserPassword
66

77
.. note::
88

9-
The `UserPassword` constraint class is defined in the
10-
`Symfony\Component\Security\Core\Validator\Constraints` namespace since
11-
Symfony 2.2. The `UserPassword` defined in the
12-
`Symfony\Component\Security\Core\Validator\Constraint` namespace is
13-
deprecated and will be removed in Symfony 2.3.
9+
Since Symfony 2.2, the `UserPassword*` classes in the
10+
`Symfony\Component\Security\Core\Validator\Constraint` namespace are
11+
deprecated and will be removed in Symfony 2.3. Please use the
12+
`UserPassword*` classes in the
13+
`Symfony\Component\Security\Core\Validator\Constraints` namespace instead.
1414

1515
This validates that an input value is equal to the current authenticated
1616
user's password. This is useful in a form where a user can change his password,

0 commit comments

Comments
 (0)