File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,10 @@ PasswordStrength
6
6
The ``PasswordStrength `` constraint was introduced in Symfony 6.3.
7
7
8
8
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.
10
13
11
14
========== ===================================================================
12
15
Applies to :ref: `property or method <validation-property-target >`
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ itself when being accessed for the first time). The same happens when calling
86
86
To check if your lazy service works you can check the interface of the received object::
87
87
88
88
dump(class_implements($service));
89
- // the output should include "Symfony\Component\VarExporter\LazyGhostObjectInterface "
89
+ // the output should include "Symfony\Component\VarExporter\LazyObjectInterface "
90
90
91
91
You can also configure your service's laziness thanks to the
92
92
:class: `Symfony\\ Component\\ DependencyInjection\\ Attribute\\ Autoconfigure ` attribute.
You can’t perform that action at this time.
0 commit comments