2

I have a got a situation where Staff Model has various roles and User Model also has various roles. I am using default authentication for User Model. But I am struck on how to use the Auth library for Staff Model too.

I found https://github.com/ollieread/multiauth/, but it does not support for laravel5.

So, any help would be appreciated.

Apul Gupta
  • 3,044
  • 3
  • 22
  • 30
user3127109
  • 3,421
  • 8
  • 24
  • 33

1 Answers1

1

you have another git source available for laravel 5:

https://gist.github.com/danielcoimbra/64b779b4d9e522bc3373

It's more a native way of doing that. I believe that's what you're looking for, I used it as well and it works like a charm. good luck :)

AfikDeri
  • 2,069
  • 17
  • 19