File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -824,8 +824,8 @@ Finally, create or update the template:
824
824
825
825
.. caution ::
826
826
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 `.
829
829
It may contain sensitive information about the authentication failure.
830
830
*Never * use ``error.message ``: use the ``messageKey `` property instead,
831
831
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
1659
1659
// you can also log in on a different firewall
1660
1660
$security->login($user, 'form_login', 'other_firewall');
1661
1661
1662
- // ... redirect the user to its account page for instance
1662
+ // ... redirect the user, e.g. to their account page
1663
1663
}
1664
1664
}
1665
1665
You can’t perform that action at this time.
0 commit comments