8000 Minor reword · symfony/symfony-docs@1eed188 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1eed188

Browse files
Minor reword
1 parent bee0cba commit 1eed188

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

security/entity_provider.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,9 +171,10 @@ To learn more about each of these, see :class:`Symfony\\Component\\Security\\Cor
171171

172172
.. caution::
173173

174-
Do not actually implement ``eraseCredentials`` when you load your users directly
175-
from Doctrine, as changes will be flushed when a user tries to login. As example,
176-
setting ``password`` to ``null`` will be flushed with every login attempt.
174+
Do not actually implement ``eraseCredentials()`` when loading the users
175+
directly from Doctrine, as changes will be flushed when a user tries to
176+
login. For example, setting ``password`` to ``null`` will be flushed with
177+
every login attempt.
177178

178179
What do the serialize and unserialize Methods do?
179180
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)
0