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:
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
You can’t perform that action at this time.
0 commit comments