I am trying to perform multi auth in my laravel project.Initially I put it for user,then token is generated and its working fine.When I add employee too,then token is not generated for employee.When I remove for users and now employee is working but combinly both are not working.
'guards' => [
'web' => [
'driver' => 'session',
'provider' => 'users',
//'provider' => 'employees'
],
'api' => [
'driver' => 'token',
'provider' => 'users',
//'provider' => 'employees'
],
'employees' => [
'driver' => 'session',
'provider' => 'employees',
],
],
Can anyone please provide me help.Thanks.
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2s6EJrC
via IFTTT
Aucun commentaire:
Enregistrer un commentaire