Skip to content

Commit a376f77

Browse files
committed
Fix typos
| Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | 2.3 | Fixed tickets |
1 parent a3e2469 commit a376f77

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

book/security.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ sections:
1818

1919
2) Denying access to your app (*authorization*);
2020

21-
3) Fetching the current User object
21+
3) 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)