loading...

Laravel Auth : Multi Authentication System Using Guard

techmahedy profile image Mahedi Hasan ・1 min read

In this tutorial we are going to know how to create multi authentication system in laravel ? In this tutorial we'll use guard to create this multi authentication system. Laravel default login system , laravel use web as a default guard. If you go to your loginController.php then you can see its use AuthenticatesUsers trait.

If you go this file which locate this following slug vendor\laravel\framework\src\illuminate\Foundation\Auth\AuthenticatesUsers .php. After going this file just go to bottom of this file and you will see this below code.

https://www.codechief.org/article/laravel-multi-authentication-using-guard

Discussion

pic
Editor guide