Skip to content

Commit f75bc2b

Browse files
committed
minor #4972 Fix typos (ifdattic)
This PR was merged into the 2.3 branch. Discussion ---------- Fix typos | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | 2.3 | Fixed tickets | Commits ------- 6491394 Update security.rst c216598 Update security.rst a376f77 Fix typos
2 parents a25da10 + 6491394 commit f75bc2b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

book/security.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ is both flexible and (hopefully) fun to work with.
1414
Since there's a lot to talk about, this chapter is organized into a few big
1515
sections:
1616

17-
1) Initial ``security.yml`` setup (*authentication*);
17+
#. Initial ``security.yml`` setup (*authentication*);
1818

19-
2) Denying access to your app (*authorization*);
19+
#. Denying access to your app (*authorization*);
2020

21-
3) Fetching the current User object
21+
#. Fetching the current User object.
2222

2323
These are followed by a number of small (but still captivating) sections,
2424
like :ref:`logging out <book-security-logging-out>` and :ref:`encoding user passwords <security-encoding-password>`.
@@ -487,7 +487,7 @@ else, you'll want to encode their passwords. The best algorithm to use is
487487
488488
'encoders' => array(
489489
'Symfony\Component\Security\Core\User\User' => array(
490-
'algorithm' => 'plaintext',
490+
'algorithm' => 'bcrypt',
491491
'cost' => 12,
492492
)
493493
),

0 commit comments

Comments
 (0)