Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| code:laravel:code-snippets [2020/04/19 19:12] – gerardorourke | code:laravel:code-snippets [2021/01/26 18:22] (current) – [Customization of the response returned when a user is authenticated] gerardorourke | ||
|---|---|---|---|
| Line 45: | Line 45: | ||
| ==== Customization of the response returned when a user is authenticated==== | ==== Customization of the response returned when a user is authenticated==== | ||
| - | [[https:// | + | [[https:// |
| If you need more robust customization of the response returned when a user is authenticated, | If you need more robust customization of the response returned when a user is authenticated, | ||
| <code php> | <code php> | ||
| + | use Illuminate\Http\Request; | ||
| + | |||
| /** | /** | ||
| * The user has been authenticated. | * The user has been authenticated. | ||
| Line 63: | Line 65: | ||
| } | } | ||
| </ | </ | ||
| + | |||
| + | *https:// | ||
| + | |||