public function __construct() { // Kill middleware defined by ParentController. // $this->middleware = []; $this->middleware('throttle.api:10,1'); $this->middleware('jwt.refresh', ['only' => 'refresh']); parent::__construct(); }