Sunday, April 16, 2017

how to use different Auth for different controller in laravel?

I am creating a project in laravel. My problem is,Since this is a shopping cart I am using different tables for customer and admins. So if request is admin then i want to authenticate from admin table and if it is from store i want to use customer table for authentication. Is is it possible to set auth table for controllers or is it possible to use create multiple authenticator other than the default?



via Muhammed Hafil

Advertisement