Skip to content

Commit 37db964

Browse files
javiereguiluzxabbuh
authored andcommitted
Minor reword
1 parent 9045d4b commit 37db964

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

security/named_encoders.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,9 @@ the name of the encoder to use::
125125
}
126126
}
127127

128-
If you implemented your own password encoder as explained in
129-
:doc:`authentication </security/authentication>`,
130-
you can also use it as a named encoder, note that it must be registered as a service.
128+
If you created your own password encoder implementing the
129+
:class:`Symfony\\Component\\Security\\Core\\Encoder\\PasswordEncoderInterface`,
130+
you must register a service for it in order to use it as a named encoder:
131131

132132
.. configuration-block::
133133

@@ -170,4 +170,5 @@ you can also use it as a named encoder, note that it must be registered as a ser
170170
),
171171
));
172172
173-
This creates an encoder named ``app_encoder`` from a service named ``app.password_encoder_service``.
173+
This creates an encoder named ``app_encoder`` from a service named
174+
``app.password_encoder_service``.

0 commit comments

Comments
 (0)