Skip to content

Commit bdd8c62

Browse files
committed
fix : fix DOCtor-RST lint issues
1 parent 6f5b02b commit bdd8c62

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

validation/passwordStrength/get_or_override_estimate_strength.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
How to Get or Override the Default Password Strength Estimation Algorithm
2-
========================================================================
2+
=========================================================================
33

44
Within the :class:`Symfony\\Component\\Validator\\Constraints\\PasswordStrengthValidator` a `dedicated function`_ is used to estimate the strength of the given password. This function can be retrieved directly from the :class:`Symfony\\Component\\Validator\\Constraints\\PasswordStrengthValidator` class and can also be overridden.
55

66
Get the default Password strength
7-
----------------------------
7+
---------------------------------
88

99
In case of need to retrieve the actual strength of a password (e.a. display it in a frontend live next to the password field), the ``estimateStrength`` `dedicated function`_ of the :class:`Symfony\\Component\\Validator\\Constraints\\PasswordStrengthValidator` is a public static function, therefore this function can be retrieved directly from the `PasswordStrengthValidator` class.::
1010

@@ -14,7 +14,7 @@ In case of need to retrieve the actual strength of a password (e.a. display it i
1414

1515

1616
Override the default Password strength estimation algorithm
17-
----------------------------
17+
-----------------------------------------------------------
1818

1919
If you need to override the default password strength estimation algorithm, you can pass a ``Closure`` to the :class:`Symfony\\Component\\Validator\\Constraints\\PasswordStrengthValidator` constructor. This can be done using the :doc:`/service_container/service_closures`.
2020

@@ -45,4 +45,4 @@ Then, configure the :class:`Symfony\\Component\\Validator\\Constraints\\Password
4545
Symfony\Component\Validator\Constraints\PasswordStrengthValidator:
4646
arguments: [!service_closure '@custom_password_strength_estimator']
4747

48-
.. _`dedicated function`: https://github.com/symfony/symfony/blob/85db734e06e8cb32365810958326d48084bf48ba/src/Symfony/Component/Validator/Constraintss/PasswordStrengthValidator.php#L53-L90
48+
.. _`dedicated function`: https://github.com/symfony/symfony/blob/85db734e06e8cb32365810958326d48084bf48ba/src/Symfony/Component/Validator/Constraints/PasswordStrengthValidator.php#L53-L90

0 commit comments

Comments
 (0)