Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
code:laravel:code-snippets [2020/04/19 19:12] – [Customization of the response returned when a user is authenticated] gerardorourkecode:laravel:code-snippets [2021/01/26 18:22] (current) – [Customization of the response returned when a user is authenticated] gerardorourke
Line 49: Line 49:
 If you need more robust customization of the response returned when a user is authenticated, Laravel provides an empty authenticated(Request $request, $user) method that may be overwritten if desired: If you need more robust customization of the response returned when a user is authenticated, Laravel provides an empty authenticated(Request $request, $user) method that may be overwritten if desired:
 <code php> <code php>
 +use Illuminate\Http\Request;
 +
 /** /**
  * The user has been authenticated.  * The user has been authenticated.
Line 63: Line 65:
 } }
 </code> </code>
 +
 +  *https://www.itsolutionstuff.com/post/laravel-set-selected-option-in-dropdown-menuexample.html
 +
  • code/laravel/code-snippets.1587319965.txt.gz
  • Last modified: 2020/04/19 19:12
  • by gerardorourke