I looking at Laravel 5.2 and the easy to use "make:auth" and the multi-auth.
I think there is a bug because in the generated middleware "App\Http\Middleware\Authenticate"
at handle()
method call the $guard parameter is always null.
So Laravel use "default"=>"gard"=>"xyz
defined in "auth.php
", not the one defined by the $guard property in App\Http\Controllers\Auth\AuthController
.
Actually i am trying to redirect website user to home controller and website admin to admin controller after login.
Help me come out from this problem.