Skip to content

Fix typos #4972

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Feb 24, 2015
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions book/security.rst
Original file line number Diff line number Diff line change
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*);
1. Initial ``security.yml`` setup (*authentication*);

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

3) Fetching the current User object
3. Fetching the current User object.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can actually really use the # character which will then automatically expand to the right numbers.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, will keep it in mind :)
I thought the same, but decide that I don't feel like experimenting so will leave it like it is.
Should I change the numbers to # or leave it like it is?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, please change them to use #.


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