Skip to content

Commit 3736d24

Browse files
committed
[Validator] Give more details to the Password Strength
1 parent 461f6d0 commit 3736d24

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

reference/constraints/PasswordStrength.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@ PasswordStrength
66
The ``PasswordStrength`` constraint was introduced in Symfony 6.3.
77

88
Validates that the given password has reached the minimum strength required by
9-
the constraint.
9+
the constraint. The strengh of the password is not evaluated with a set of
10+
predefined rules (include a number, use lowercase and uppercase characters,
11+
etc.) but by measuring the entropy of the password based on its length and the
12+
number of unique characters used.
1013

1114
========== ===================================================================
1215
Applies to :ref:`property or method <validation-property-target>`

0 commit comments

Comments
 (0)