Skip to content

Commit 1d93bf4

Browse files
committed
minor #9235 Added a note about controller arguments (javiereguiluz)
This PR was merged into the 3.4 branch. Discussion ---------- Added a note about controller arguments This finishes #8085. Commits ------- 9075771 Added a note about controller arguments
2 parents 4f5981d + 9075771 commit 1d93bf4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

security/form_login_setup.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,12 @@ Great! Next, add the logic to ``loginAction()`` that displays the login form::
157157
));
158158
}
159159

160+
.. note::
161+
162+
If you get an error that the ``$authUtils`` argument is missing, it's
163+
probably because you need to activate this new feature in Symfony 3.4. See
164+
this :ref:`controller service argument note <controller-service-arguments-tag>`.
165+
160166
Don't let this controller confuse you. As you'll see in a moment, when the
161167
user submits the form, the security system automatically handles the form
162168
submission for you. If the user submits an invalid username or password,

0 commit comments

Comments
 (0)