Skip to content

Commit 1851eae

Browse files
committed
Remove the wrong XML config sample
1 parent 53470f9 commit 1851eae

File tree

1 file changed

+0
-27
lines changed

1 file changed

+0
-27
lines changed

security/passwords.rst

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -137,33 +137,6 @@ Further in this article, you can find a
137137
time_cost: 3 # Lowest possible value for argon
138138
memory_cost: 10 # Lowest possible value for argon
139139
140-
.. code-block:: xml
141-
142-
<!-- config/packages/security.xml -->
143-
<?xml version="1.0" encoding="UTF-8"?>
144-
<srv:container xmlns="http://symfony.com/schema/dic/security"
145-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
146-
xmlns:srv="http://symfony.com/schema/dic/services"
147-
xsi:schemaLocation="http://symfony.com/schema/dic/services
148-
https://symfony.com/schema/dic/services/services-1.0.xsd">
149-
150-
<when env="test">
151-
<config>
152-
<!-- class: Use your user class name here -->
153-
<!-- cost: Lowest possible value for bcrypt -->
154-
<!-- time_cost: Lowest possible value for argon -->
155-
<!-- memory_cost: Lowest possible value for argon -->
156-
<security:password-hasher
157-
class="App\Entity\User"
158-
algorithm="auto"
159-
cost="4"
160-
time_cost="3"
161-
memory_cost="10"
162-
/>
163-
</config>
164-
</when>
165-
</srv:container>
166-
167140
.. code-block:: php
168141
169142
// config/packages/security.php

0 commit comments

Comments
 (0)