Skip to content

Commit 0b4c626

Browse files
authored
add note to use the constraint UserPassword
1 parent 3e29aee commit 0b4c626

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

reference/constraints/UserPassword.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ password, but needs to enter their old password for security.
1010
This should **not** be used to validate a login form, since this is
1111
done automatically by the security system.
1212

13+
.. note::
14+
15+
In order to use this constraints, you should have installed the
16+
symfony/security component with Composer.
17+
1318
========== ===================================================================
1419
Applies to :ref:`property or method <validation-property-target>`
1520
Options - `groups`_

0 commit comments

Comments
 (0)