Skip to content

Fix build errors #3544

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 11, 2014
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
readd configuration block
  • Loading branch information
xabbuh committed Feb 5, 2014
commit 7e3c0e3af0bc730a4ccc732ee6c46fd9d82a99a9
6 changes: 5 additions & 1 deletion cookbook/security/named_encoders.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ How to Choose the Password Encoder Algorithm Dynamically
Usually, the same password encoder is used for all users by configuring it
to apply to all instances of a specific class:

.. configuration-block::

.. code-block:: yaml

# app/config/security.yml
security:
# ...
Expand Down Expand Up @@ -117,7 +121,7 @@ the name of the encoder to use::
if ($this->isAdmin()) {
return 'harsh';
}

return null; // use the default encoder
}
}