We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 405b15f commit cb1315cCopy full SHA for cb1315c
reference/constraints/UserPassword.rst
@@ -4,6 +4,14 @@ UserPassword
4
.. versionadded:: 2.1
5
This constraint is new in version 2.1.
6
7
+.. note::
8
+
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.
14
15
This validates that an input value is equal to the current authenticated
16
user's password. This is useful in a form where a user can change his password,
17
but needs to enter his old password for security.
0 commit comments