Skip to content

Commit 5950427

Browse files
Seb33300OskarStark
andcommitted
Update reference/forms/types/password.rst
Co-Authored-By: Oskar Stark <[email protected]>
1 parent 4df3d76 commit 5950427

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

reference/forms/types/password.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Data passed to the form must be a ``PasswordAuthenticatedUserInterface`` object.
4848
.. caution::
4949

5050
To minimize the risk of leaking the plain password,
51-
this option can only be used with the ``mapped`` option set to ``false``.
51+
this option can only be used with the ``mapped`` option set to ``false``::
5252

5353
$builder->add('plainPassword', PasswordType::class, [
5454
'hash_property_path' => 'password',
@@ -57,6 +57,10 @@ Data passed to the form must be a ``PasswordAuthenticatedUserInterface`` object.
5757

5858
See the :ref:`"mapped" option documentation <reference-form-mapped>`.
5959

60+
.. versionadded:: 6.2
61+
62+
The ``hash_property_path`` option was introduced in Symfony 6.2.
63+
6064
Overridden Options
6165
------------------
6266

0 commit comments

Comments
 (0)