Laravel Authentication Several Types of Different Users

0

I need a direction guidance on how I will separate my authentications by user type ...

My application has 3 types of users, each with its dashboard and specific admin panel, adminGeral (eu), businesses and consumers.

I leave everyone in the same user table and relate it to my 3 entities, or do I create a separate authentication for each?

What are the possibilities? And what would be the advantages and disadvantages of each?

    
asked by anonymous 03.07.2016 / 01:56

2 answers

1

Laravel already has what it takes for multiple authentication from version 5.2. Watch this very simple video that explains in detail: link

I hope I have helped.

    
05.07.2016 / 22:41
1

I work with different tables one for each type. If it is laravel 5.1 it has this very good package kbwebs / multiauth

No 5.2 already has these multiple endorsements.

    
08.07.2016 / 17:59