File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -215,11 +215,6 @@ It's not recommended to use this provider in real applications because of its
215
215
limitations and how difficult it is to manage users. It may be useful in application
216
216
prototypes and for limited applications that don't store users in databases.
217
217
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
-
223
218
This user provider stores all user information in a configuration file,
224
219
including their passwords. That's why the first step is to configure how these
225
220
users will encode their passwords:
@@ -291,6 +286,11 @@ Now you can configure all the user information in ``config/packages/security.yam
291
286
john_admin : { password: '$2y$13$jxGxc ... IuqDju', roles: ['ROLE_ADMIN'] }
292
287
jane_admin : { password: '$2y$13$PFi1I ... rGwXCZ', roles: ['ROLE_ADMIN', 'ROLE_SUPER_ADMIN'] }
293
288
289
+ .. caution ::
290
+
291
+ When using a ``memory `` provider, and not the ``auto `` algorithm, you have
292
+ to choose an encoding without salt (i.e. ``bcrypt ``).
293
+
294
294
.. _security-ldap-user-provider :
295
295
296
296
LDAP User Provider
You can’t perform that action at this time.
0 commit comments