diff --git a/components/security/authentication.rst b/components/security/authentication.rst index af2ce05b78a..f72657feecf 100644 --- a/components/security/authentication.rst +++ b/components/security/authentication.rst @@ -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