Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
LoginController -> login() controller
  • Loading branch information
bocharsky-bw committed Nov 8, 2021
1 parent c4fcd2f commit 9fedbea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sfcasts/ep5-security/auth-errors.md
Expand Up @@ -93,8 +93,8 @@ cheat and copy the `RedirectResponse` from earlier... and change the route to

## AuthenticationUtils: Rendering the Error

Cool! Next, inside `LoginController`, we need to read that error and render it. The
most straightforward way to do that would be to grab the session and read out this
Cool! Next, inside `login()` controller, we need to read that error and render it.
The most straightforward way to do that would be to grab the session and read out this
key. But... it's even easier than that! Symfony provides a service that will grab
the key from the session automatically. Add a new argument type-hinted with
`AuthenticationUtils`:
Expand Down

0 comments on commit 9fedbea

Please sign in to comment.