Skip to content

Commit 2ae3b43

Browse files
Update security.rst
Co-authored-by: Robin Chalas <chalasr@users.noreply.github.com>
1 parent 0fb878b commit 2ae3b43

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

security.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -689,9 +689,8 @@ class ExampleController
689689
}
690690

691691
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.
695694

696695
You can also pass the authenticator on which the user will
697696
be authenticated against. For built-in authenticators, you can pass an authenticator name like ``form_login``,

0 commit comments

Comments
 (0)