Skip to content

Commit f107d91

Browse files
committed
minor #17921 [Security] its => their (ThomasLandauer)
This PR was squashed before being merged into the 6.2 branch. Discussion ---------- [Security] `its` => `their` Page: https://symfony.com/doc/current/security.html#login-programmatically Commits ------- 8134b20 [Security] `its` => `their`
2 parents c13bc41 + 8134b20 commit f107d91

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

security.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -824,8 +824,8 @@ Finally, create or update the template:
824824

825825
.. caution::
826826

827-
The ``error`` variable passed into the template is an instance of
828-
:class:`Symfony\\Component\\Security\\Core\\Exception\\AuthenticationException`.
827+
The ``error`` variable passed into the template is an instance
828+
of :class:`Symfony\\Component\\Security\\Core\\Exception\\AuthenticationException`.
829829
It may contain sensitive information about the authentication failure.
830830
*Never* use ``error.message``: use the ``messageKey`` property instead,
831831
as shown in the example. This message is always safe to display.
@@ -1659,7 +1659,7 @@ You can log in a user programmatically using the `login()` method of the
16591659
// you can also log in on a different firewall
16601660
$security->login($user, 'form_login', 'other_firewall');
16611661

1662-
// ... redirect the user to its account page for instance
1662+
// ... redirect the user, e.g. to their account page
16631663
}
16641664
}
16651665

0 commit comments

Comments
 (0)