1
In Laravel we have the function Auth()
that works with every part that an authentication needs.
I am developing a project that will be logged in to the Front-End (for individual customer use) and the Back-End (in the site management system).
It is possible to use the function Auth()
to perform two authentications in the same project ?
Use the Laravel 5.1.
It would not be better to create a table with permissions?
– Lucio Rubens
No. They are tables with very different contents (columns), I do not want to mix clients with users of a system.
– Diego Souza
https://github.com/Kbwebs/MultiAuth Take a look at this project.
– Rafael
Laravel 5.2 has implemented Guard, which is exactly what you need ;), in previous versions use Kbwebs Multiauth: https://github.com/Kbwebs/MultiAuth
– Rafael Alexandre
It worked @Rafael ...
– Diego Souza
Do you want the same user to use two different logins at the same time? Is that it? if it’s not that way.
– Miguel Batista