File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 15
15
use Symfony \Component \HttpFoundation \Request ;
16
16
use Symfony \Component \HttpFoundation \Response ;
17
17
use Symfony \Component \Routing \Annotation \Route ;
18
- use Symfony \Component \Security \Core \Security ;
19
18
use Symfony \Component \Security \Http \Authentication \AuthenticationUtils ;
20
19
use Symfony \Component \Security \Http \Util \TargetPathTrait ;
21
20
@@ -31,7 +30,7 @@ class SecurityController extends AbstractController
31
30
use TargetPathTrait;
32
31
33
32
#[Route('/login ' , name: 'security_login ' )]
34
- public function login (Request $ request , Security $ security , AuthenticationUtils $ helper ): Response
33
+ public function login (Request $ request , AuthenticationUtils $ helper ): Response
35
34
{
36
35
// if user is already logged in, don't display the login page again
37
36
if ($ this ->getUser ()) {
You can’t perform that action at this time.
0 commit comments