Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ca489ea

Browse files
committed
bug #8794 Add command to require Symfony security (Holicz, weaverryan)
This PR was merged into the 4.0 branch. Discussion ---------- Add command to require Symfony security The command should be there, because if someone unfamiliar with new Symfony structure use it, it will not work. Commits ------- 202740b rewording 7d95e12 Add command to require Symfony security
2 parents 2faa719 + 202740b commit ca489ea

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

security/entity_provider.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ and :ref:`user serialization to the session <security-serialize-equatable>`
3636
1) Create your User Entity
3737
--------------------------
3838

39+
Before you begin, first make sure you install the Security component:
40+
41+
.. code-block:: terminal
42+
43+
$ composer require security
44+
3945
For this entry, suppose that you already have a ``User`` entity inside an
4046
``AppBundle`` with the following fields: ``id``, ``username``, ``password``,
4147
``email`` and ``isActive``::

0 commit comments

Comments
 (0)