We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64602c8 commit 7e3c0e3Copy full SHA for 7e3c0e3
cookbook/security/named_encoders.rst
@@ -10,6 +10,10 @@ How to Choose the Password Encoder Algorithm Dynamically
10
Usually, the same password encoder is used for all users by configuring it
11
to apply to all instances of a specific class:
12
13
+.. configuration-block::
14
+
15
+ .. code-block:: yaml
16
17
# app/config/security.yml
18
security:
19
# ...
@@ -117,7 +121,7 @@ the name of the encoder to use::
117
121
if ($this->isAdmin()) {
118
122
return 'harsh';
119
123
}
120
-
124
125
return null; // use the default encoder
126
127
0 commit comments