8000 minor #9432 Fixed a merge issue (javiereguiluz) · symfony/symfony-docs@b64b501 · GitHub
[go: up one dir, main page]

Skip to content

Commit b64b501

Browse files
committed
minor #9432 Fixed a merge issue (javiereguiluz)
This PR was merged into the 4.0 branch. Discussion ---------- Fixed a merge issue Commits ------- 6fc9e5d Fixed a merge issue
2 parents 8cd3a84 + 6fc9e5d commit b64b501

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

security/form_login_setup.rst

Lines changed: 3 additions & 13 deletions
< 8000 div data-testid="deletion diffstat" class="DiffSquares-module__diffSquare--h5kjy DiffSquares-module__deletion--hKV3q">
Original file line numberDiff line numberDiff line change
@@ -144,11 +144,7 @@ Great! Next, add the logic to ``login()`` that displays the login form::
144144
// src/Controller/SecurityController.php
145145
use Symfony\Component\Security\Http\Authentication\AuthenticationUtils;
146146

147-
<<<<<<< HEAD
148-
public function login(Request $request, AuthenticationUtils $authUtils)
149-
=======
150-
public function loginAction(Request $request, AuthenticationUtils $authenticationUtils)
151-
>>>>>>> 3.4
147+
public function login(Request $request, AuthenticationUtils $authenticationUtils)
152148
{
153149
// get the login error if there is one
154150
$error = $authenticationUtils->getLastAuthenticationError();
@@ -164,16 +160,10 @@ Great! Next, add the logic to ``login()`` that displays the login form::
164160

165161
.. note::
166162

167-
<<<<<<< HEAD
168-
If you get an error that the ``$authUtils`` argument is missing, it's
169-
probably because the controllers of your application are not defined as
163+
If you get an error that the ``$authenticationUtils`` argument is missing,
164+
it's probably because the controllers of your application are not defined as
170165
services and tagged with the ``controller.service_arguments`` tag, as done
171166
in the :ref:`default services.yaml configuration <service-container-services-load-example>`.
172-
=======
173-
If you get an error that the ``$authenticationUtils`` argument is missing,
174-
it's probably because you need to activate this new feature in Symfony 3.4.
175-
See this :ref:`controller service argument note <controller-service-arguments-tag>`.
176-
>>>>>>> 3.4
177167

178168
Don't let this controller confuse you. As you'll see in a moment, when the
179169
user submits the form, the security system automatically handles the form

0 commit comments

Comments
 (0)
0