title: Terminate method in second middleware in Laravel
body: <p>I use two middlewares (Laravel 5.2):</p>
  
  <pre><code>'api' =&gt; [
      \App\Http\Middleware\AuthenticateApi::class,
      \App\Http\Middleware\UserUpdate::class,
  ],
  </code></pre>
  
  <p>In first middleware I don't return next request but this:</p>
  
  <pre><code>return response()-&gt;json([
          'error' =&gt; [
          'status' =&gt; 401,
          'message' =&gt; 'Unauthorized',
      ],
  ], 401, [], JSON_PRETTY_PRINT);
  </code></pre>
  
  <p>In UserUpdate I use terminate function. Method "handle" is not called (what is expected) but terminate is.</p>
  
  <p>Do you know why?</p>