DEV Community

Mahedi Hasan
Mahedi Hasan

Posted on

Laravel Auth : Multi Authentication System Using Guard

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

Top comments (0)