From 4e0dee6c6caacc8672775f775867fb6ba973020e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dawid=20Kr=C3=B3lak?= Date: Wed, 6 May 2015 23:51:27 +0200 Subject: [PATCH 1/2] Update authentication.rst Added missing ```use``` base class for FoobarEncoder --- components/security/authentication.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/components/security/authentication.rst b/components/security/authentication.rst index 4708d569c69..5e1159a345a 100644 --- a/components/security/authentication.rst +++ b/components/security/authentication.rst @@ -214,6 +214,7 @@ own, it just needs to follow these rules: method for this check:: use Symfony\Component\Security\Core\Exception\BadCredentialsException; + use Symfony\Component\Security\Core\Encoder\BasePasswordEncoder; class FoobarEncoder extends BasePasswordEncoder { From 91bdf7e0e39b9b7aaead419a549b2ac347718f47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dawid=20Kr=C3=B3lak?= Date: Thu, 7 May 2015 19:08:41 +0200 Subject: [PATCH 2/2] Update authentication.rst --- components/security/authentication.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/security/authentication.rst b/components/security/authentication.rst index 5e1159a345a..f5522f5fc3e 100644 --- a/components/security/authentication.rst +++ b/components/security/authentication.rst @@ -213,8 +213,8 @@ 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\Exception\BadCredentialsException; use Symfony\Component\Security\Core\Encoder\BasePasswordEncoder; + use Symfony\Component\Security\Core\Exception\BadCredentialsException; class FoobarEncoder extends BasePasswordEncoder {