Commit d19df772 authored by Fabien Potencier's avatar Fabien Potencier

minor #949 Make clear to use Session BEFORE app->boot (sebastian-marinescu)

This PR was squashed before being merged into the 2.0.x-dev branch (closes #949).

Discussion
----------

Make clear to use Session BEFORE app->boot

It wasn't clear to me the session needs to be there before you boot.
I 'wasted' a great amount of time finding that out.
Please clarify for upcoming geniuses like me.

Commits
-------

5ddcc8b3 Make clear to use Session BEFORE app->boot
parents 839be037 5ddcc8b3
...@@ -64,6 +64,11 @@ Registering ...@@ -64,6 +64,11 @@ Registering
"symfony/security": "~2.3" "symfony/security": "~2.3"
} }
.. caution::
If you're using a form to authenticate users, you need to enable
``SessionServiceProvider``.
.. caution:: .. caution::
The security features are only available after the Application has been The security features are only available after the Application has been
...@@ -72,11 +77,6 @@ Registering ...@@ -72,11 +77,6 @@ Registering
$application->boot(); $application->boot();
.. caution::
If you're using a form to authenticate users, you need to enable
``SessionServiceProvider``.
Usage Usage
----- -----
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment