Hi @imrealashu, I have used your steps from http://stackoverflow.com/questions/34614753/can-anyone-explain-laravel-5-2-multi-auth-with-example, and I downloaded your repo laravel-multiauth and it worked great, now I have to assign a new table with its own authenticated. So I would have a third auth.
I have followed the steps, I have a Member model with its own MemberAuth folder which contains its AuthController and Password. I set the protected $guard and $redirect to member. I created the middleware ifNotMember and registered it in the Kernel. But when a Member logs in It gets redirected to the /login page. BTW the url for member login is member/login.
If in Authenticate.php I set return redirect()->guest('member'); Then it will go to the member dashboard.
but if that defeats the purpose of the middleware. My MemberController also has the member middleware on the construct function.
Hi @imrealashu, I have used your steps from http://stackoverflow.com/questions/34614753/can-anyone-explain-laravel-5-2-multi-auth-with-example, and I downloaded your repo laravel-multiauth and it worked great, now I have to assign a new table with its own authenticated. So I would have a third auth. I have followed the steps, I have a Member model with its own MemberAuth folder which contains its AuthController and Password. I set the protected $guard and $redirect to member. I created the middleware ifNotMember and registered it in the Kernel. But when a Member logs in It gets redirected to the /login page. BTW the url for member login is member/login. If in Authenticate.php I set return redirect()->guest('member'); Then it will go to the member dashboard. but if that defeats the purpose of the middleware. My MemberController also has the member middleware on the construct function.