You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: security.rst
+2-3Lines changed: 2 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -689,9 +689,8 @@ class ExampleController
689
689
}
690
690
691
691
The previous example only works if you have only one authenticator configured on the current firewall so if you have more than one authenticator, you need to specify which authenticator should be used.
692
-
If the firewall is not explicitly passed, the method will
693
-
be retrieved from the request. If the current request is not under any firewall an
694
-
`Symfony\\Component\\Security\\Core\\Exception\\LogicException` exception will be thrown.
692
+
If no firewall is explicitly passed to the method, it will use the firewall from the current request.
693
+
And If the current request is not under any firewall, a ``\LogicException`` will be thrown.
695
694
696
695
You can also pass the authenticator on which the user will
697
696
be authenticated against. For built-in authenticators, you can pass an authenticator name like ``form_login``,
0 commit comments