From 9f2f0f1d971394456540a7ccc12c6826fe1bf8d5 Mon Sep 17 00:00:00 2001 From: Zairig Imad Date: Sat, 13 Jun 2020 19:16:07 +0200 Subject: [PATCH] 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 bba35d08c7b..8256221fdb6 100644 --- a/components/security/authentication.rst +++ b/components/security/authentication.rst @@ -197,7 +197,7 @@ Creating a custom Password Encoder There are many built-in password encoders. But if you need to create your own, it needs to follow these rules: -#. The class must implement :class:`Symfony\\Component\\Security\\Core\\Encoder\\PasswordEncoderInterface`; +#. The class must implement :class:`Symfony\\Component\\Security\\Core\\Encoder\\PasswordEncoderInterface`; or extend :class:`Symfony\\Component\\Security\\Core\\Encoder\\BasePasswordEncoder`; #. The implementations of :method:`Symfony\\Component\\Security\\Core\\Encoder\\PasswordEncoderInterface::encodePassword`