Skip to content

Enhancement: Use table like in other constraints. #14357

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 6, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Enhancement: Use table like in other constraints.
  • Loading branch information
OskarStark committed Oct 6, 2020
commit d9e6a5ee31f3524b79fb42a267dbccce6aa8ae4d
19 changes: 11 additions & 8 deletions reference/constraints/UserPassword.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,17 @@ password, but needs to enter their old password for security.
In order to use this constraints, you should have installed the
symfony/security-core component with Composer.

========== ===================================================================
Applies to :ref:`property or method <validation-property-target>`
Options - `groups`_
- `message`_
- `payload`_
Class :class:`Symfony\\Component\\Security\\Core\\Validator\\Constraints\\UserPassword`
Validator :class:`Symfony\\Component\\Security\\Core\\Validator\\Constraints\\UserPasswordValidator`
========== ===================================================================
+----------------+--------------------------------------------------------------------------------------------+
| Applies to | :ref:`property or method <validation-property-target>` |
+----------------+--------------------------------------------------------------------------------------------+
| Options | - `groups`_ |
| | - `message`_ |
| | - `payload`_ |
+----------------+--------------------------------------------------------------------------------------------+
| Class | :class:`Symfony\\Component\\Security\\Core\\Validator\\Constraints\\UserPassword` |
+----------------+--------------------------------------------------------------------------------------------+
| Validator | :class:`Symfony\\Component\\Security\\Core\\Validator\\Constraints\\UserPasswordValidator` |
+----------------+--------------------------------------------------------------------------------------------+

Basic Usage
-----------
Expand Down