check()) { event(new \App\Events\UserAuthenticated($request->user())); } return $next($request); } }