Skip to content

Commit 92e8e2a

Browse files
committed
Merge branch '5.1'
* 5.1: Minor tweak Update authentication.rst
2 parents 701537a + e7e3405 commit 92e8e2a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

components/security/authentication.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,8 @@ Creating a custom Password Encoder
197197
There are many built-in password encoders. But if you need to create your
198198
own, it needs to follow these rules:
199199

200-
#. The class must implement :class:`Symfony\\Component\\Security\\Core\\Encoder\\PasswordEncoderInterface`;
200+
#. The class must implement :class:`Symfony\\Component\\Security\\Core\\Encoder\\PasswordEncoderInterface`
201+
(you can also extend :class:`Symfony\\Component\\Security\\Core\\Encoder\\BasePasswordEncoder`);
201202

202203
#. The implementations of
203204
:method:`Symfony\\Component\\Security\\Core\\Encoder\\PasswordEncoderInterface::encodePassword`

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy