title: Laravel Multiple Middleware cause redirect loop
body: <p>I have a middleware group of auth inside that i want to apply another middleware to one specific route in that view that is if the profile is not completed user cant go to any other route until he complete his profile and submit.</p>
  
  <p><strong>More Specifically, middle ware is causing loop on redirect because i have 2 middleware.</strong></p>
  
  <p>i created middleware with laravel php artisan and checking the user if profile is incomplete he should redirect to the profile/edit page but its not even working with just check on incomplete empty companyname.</p>
  
  <p><strong>Middlware</strong></p>
  
  <pre><code>class incompleteProfile
  {
      /**
       * Handle an incoming request.
       *
       * @param  \Illuminate\Http\Request  $request
       * @param  \Closure  $next
       * @return mixed
       */
      public function handle($request, Closure $next)
      {
          if(empty(Auth::user()-&gt;details['companyname'])){
              return redirect()-&gt;route('profile');
          }
          return $next($request);
      }
  }
  </code></pre>
  
  <p><strong>Routes File</strong></p>
  
  <pre><code>Routes
  Route::group(['middleware'=&gt;['auth'] ], function(){
  
  
  // User Profile
  Route::get('/profile/edit', 'UserController@profile')-&gt;name('profile')-&gt;middleware('incompleteProfile');
  Route::post('/profile/edit', 'UserController@editProfile')-&gt;name('editProfile');
  </code></pre>