A
A
Alexander Kovalchuk2016-02-20 23:28:44
Laravel
Alexander Kovalchuk, 2016-02-20 23:28:44

How to make authentication for multiple user types in laravel5.2?

It is necessary to make an entrance for several types of users, in laravel 5.2 I saw this functionality out of the box.
Let's say you need to make a user type with different functionality: user and admin.
I create two tables and auth works for user, how can i make it for admin?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2016-02-21
@mamut

Use or as you were told above by Entrust or Sentinel Off
dock : https://cartalyst.com/manual/sentinel/2.0 i do...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question