Skip to content

Commit 33c69b2

Browse files
committed
minor #13192 Move caution plus reword (OskarStark)
This PR was merged into the 4.4 branch. Discussion ---------- Move caution plus reword Follows #13188 @HeahDude, while up merging #13188, I noticed, that the documents are quite different and the usage of the `memory` provider isn't located in the `security.rst` file anymore. For now I removed it completely while merging in `4.4` and upper. This PR is an attempt to move it to the right place. I also take the context (using `auto` algo) into account. What do you think? Commits ------- bba6ba2 Move caution plus reword
2 parents 1bebc49 + bba6ba2 commit 33c69b2

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)