A user can belong to many clubs, so when they login I want to get that relationship and cache it in Auth::user() so that I can check it throughout the app and not have to hit the database each time.
I've been researching this but can't really find any info. The closest I came was a suggestion to add a custom authenticated() method to Http\Controllers\Auth\AuthController. I did, but it's not giving me anything.
protected function authenticated(Request $request, $user)
{
$user->load('memberships');
}
Can somebody give me some pointers on how to resolve this?