Skip to content

Commit bba6ba2

Browse files
committed
Move caution plus reword
1 parent e4f24f9 commit bba6ba2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

security/user_provider.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,11 @@ It's not recommended to use this provider in real applications because of its
215215
limitations and how difficult it is to manage users. It may be useful in application
216216
prototypes and for limited applications that don't store users in databases.
217217

218+
.. caution::
219+
220+
When using a ``memory`` provider, the :class:`Symfony\\Component\\Security\\Core\\User\\User`
221+
and not the ``auto`` algorithm, you have to choose an encoding without salt (i.e. ``bcrypt``).
222+
218223
This user provider stores all user information in a configuration file,
219224
including their passwords. That's why the first step is to configure how these
220225
users will encode their passwords:

0 commit comments

Comments
 (0)