hakhsin
2 months ago
115
9
Laravel

Multi auth and policy problem

Posted 2 months ago by hakhsin

Hi, I have multi auth one for admin and another for users. Everything works good except policies. When I define a policy for a model it never pass true. And I recognise the policy method didn't run in no way. Who did have this experience? What do I do? In addition in phpunit everything work good. I get green. But I don't what in browser it don't work.

Please sign in or create an account to participate in this conversation.