title: multiple middleware to Laravel 5 route not working
body: <p>i want to view dashboard when logged in as both "admin" and "jeweller".
  When i log in a "admin" its redirecting to dashboard, when when i log in as jeweller, its not going to dashboard.
  I have 2 types of admin &amp; tables ie.. "admin", "jeweller"</p>
  
  <p>In auth.php , i have created 2 types of providers</p>
  
  <pre><code>'guards' =&gt; [
          'web' =&gt; [
              'driver' =&gt; 'session',
              'provider' =&gt; 'users',
          ],
          'admin' =&gt; [
              'driver' =&gt; 'session',
              'provider' =&gt; 'admins',
          ],
          'jeweler' =&gt; [
              'driver' =&gt; 'session',
              'provider' =&gt; 'jewelers',
          ],
      ],
   'providers' =&gt; [
          'users' =&gt; [
              'driver' =&gt; 'eloquent',
              'model' =&gt; App\User::class,
          ],
          'admins' =&gt; [
              'driver' =&gt; 'eloquent',
              'model' =&gt; App\Admin::class,
          ],
          'jewelers' =&gt; [
              'driver' =&gt; 'eloquent',
              'model' =&gt; App\Jeweler::class,
          ],
      ],
  </code></pre>
  
  <p>i have declared a middleware called "AdminAuthenticated" , in AdminAuthenticated.php we have</p>
  
  <pre><code>class AdminAuthenticated
  {
      public function handle($request, Closure $next, $guard = null)
      {
          if (Auth::guard($guard)-&gt;check()) {
              return $next($request);
          }
          return redirect()-&gt;route('admin.login');
      }
  }
  </code></pre>
  
  <p>and in web.php we have</p>
  
  <pre><code>Route::group(['prefix' =&gt; 'admin','middleware'=&gt;
    ['adminAuth:admin','adminAuth:jeweler']], function () {
  });
  </code></pre>
  
  <p>and in kernal we have</p>
  
  <pre><code>protected $middlewareGroups = [
          'web' =&gt; [
              \App\Http\Middleware\EncryptCookies::class,
              \Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
              \Illuminate\Session\Middleware\StartSession::class,
              // \Illuminate\Session\Middleware\AuthenticateSession::class,
              \Illuminate\View\Middleware\ShareErrorsFromSession::class,
              \App\Http\Middleware\VerifyCsrfToken::class,
              \Illuminate\Routing\Middleware\SubstituteBindings::class,
          ],
  
          'api' =&gt; [
              'throttle:60,1',
              'bindings',
          ],
      ];
      protected $routeMiddleware = [
          'auth' =&gt; \Illuminate\Auth\Middleware\Authenticate::class,
          'auth.basic' =&gt; \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class,
          'bindings' =&gt; \Illuminate\Routing\Middleware\SubstituteBindings::class,
          'can' =&gt; \Illuminate\Auth\Middleware\Authorize::class,
          'guest' =&gt; \App\Http\Middleware\RedirectIfAuthenticated::class,
          'throttle' =&gt; \Illuminate\Routing\Middleware\ThrottleRequests::class,
  
          'adminAuth' =&gt; \App\Http\Middleware\AdminAuthenticated::class,
      ];
  </code></pre>