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.

1

1 Answer 1

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 :)

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.