File tree Expand file tree Collapse file tree 1 file changed +15
-12
lines changed Expand file tree Collapse file tree 1 file changed +15
-12
lines changed Original file line number Diff line number Diff line change @@ -134,19 +134,22 @@ Further in this article, you can find a
134134 .. configuration-block ::
135135
136136 .. code-block :: yaml
137-
137+
138138 # config/packages/test/security.yaml
139- password_hashers :
140- # Use your user class name here
141- App\Entity\User :
142- algorithm : plaintext # disable hashing (only do this in tests!)
143-
144- # or use the lowest possible values
145- App\Entity\User :
146- algorithm : auto # This should be the same value as in config/packages/security.yaml
147- cost : 4 # Lowest possible value for bcrypt
148- time_cost : 3 # Lowest possible value for argon
149- memory_cost : 10 # Lowest possible value for argon
139+ security :
140+ # ...
141+
142+ password_hashers :
143+ # Use your user class name here
144+ App\Entity\User :
145+ algorithm : plaintext # disable hashing (only do this in tests!)
146+
147+ # or use the lowest possible values
148+ App\Entity\User :
149+ algorithm : auto # This should be the same value as in config/packages/security.yaml
150+ cost : 4 # Lowest possible value for bcrypt
151+ time_cost : 3 # Lowest possible value for argon
152+ memory_cost : 10 # Lowest possible value for argon
150153
151154 .. code-block :: xml
152155
You can’t perform that action at this time.
0 commit comments