Skip to content

[Security] its => their #17921

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 20, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions security.rst
Original file line number Diff line number Diff line change
Expand Up @@ -824,8 +824,8 @@ Finally, create or update the template:

.. caution::

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

// ... redirect the user to its account page for instance
// ... redirect the user, e.g. to their account page
}
}

Expand Down