Skip to content

Commit 90fc206

Browse files
committed
minor #18422 [Validator] Give more details to the Password Strength (javiereguiluz)
This PR was merged into the 6.3 branch. Discussion ---------- [Validator] Give more details to the Password Strength Fixes #18412. Commits ------- 3736d24 [Validator] Give more details to the Password Strength
2 parents 461f6d0 + 3736d24 commit 90fc206

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)