check() && ! $request->bearerToken()) { Auth::guard($guard)->user()->last_seen_at = Carbon::now()->format('Y-m-d H:i:s'); Auth::guard($guard)->user()->save(); break; } } return $next($request); } }