Skip to content

Commit

Permalink
minor #4972 Fix typos (ifdattic)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
weaverryan committed Feb 24, 2015
2 parents a25da10 + 6491394 commit f75bc2b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions book/security.rst
Expand Up @@ -14,11 +14,11 @@ is both flexible and (hopefully) fun to work with.
Since there's a lot to talk about, this chapter is organized into a few big
sections:

1) Initial ``security.yml`` setup (*authentication*);
#. Initial ``security.yml`` setup (*authentication*);

2) Denying access to your app (*authorization*);
#. Denying access to your app (*authorization*);

3) Fetching the current User object
#. Fetching the current User object.

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

0 comments on commit f75bc2b

Please sign in to comment.