Skip to content

Commit 2a949b9

Browse files
committed
bug #5237 Update authentication.rst (taavit)
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
2 parents 3653b67 + 91bdf7e commit 2a949b9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/security/authentication.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@ own, it just needs to follow these rules:
213213
:method:`Symfony\\Component\\Security\\Core\\Encoder\\BasePasswordEncoder::isPasswordTooLong`
214214
method for this check::
215215

216+
use Symfony\Component\Security\Core\Encoder\BasePasswordEncoder;
216217
use Symfony\Component\Security\Core\Exception\BadCredentialsException;
217218

218219
class FoobarEncoder extends BasePasswordEncoder

0 commit comments

Comments
 (0)