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
215215limitations and how difficult it is to manage users. It may be useful in application
216216prototypes 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-
223218This user provider stores all user information in a configuration file,
224219including their passwords. That's why the first step is to configure how these
225220users will encode their passwords:
@@ -291,6 +286,11 @@ Now you can configure all the user information in ``config/packages/security.yam
291286 john_admin : { password: '$2y$13$jxGxc ... IuqDju', roles: ['ROLE_ADMIN'] }
292287 jane_admin : { password: '$2y$13$PFi1I ... rGwXCZ', roles: ['ROLE_ADMIN', 'ROLE_SUPER_ADMIN'] }
293288
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+
294294.. _security-ldap-user-provider :
295295
296296LDAP User Provider
You can’t perform that action at this time.
0 commit comments