Skip to content

Commit

Permalink
bug #5237 Update authentication.rst (taavit)
Browse files Browse the repository at this point in the history
This PR was merged into the 2.6 branch.

Discussion
----------

Update authentication.rst

Added missing ```use``` base class for FoobarEncoder

Commits
-------

91bdf7e Update authentication.rst
4e0dee6 Update authentication.rst
  • Loading branch information
weaverryan committed May 23, 2015
2 parents 3653b67 + 91bdf7e commit 2a949b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/security/authentication.rst
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ own, it just needs to follow these rules:
:method:`Symfony\\Component\\Security\\Core\\Encoder\\BasePasswordEncoder::isPasswordTooLong`
method for this check::

use Symfony\Component\Security\Core\Encoder\BasePasswordEncoder;
use Symfony\Component\Security\Core\Exception\BadCredentialsException;

class FoobarEncoder extends BasePasswordEncoder
Expand Down

0 comments on commit 2a949b9

Please sign in to comment.