V2n
1 week ago

Gate 403 vs 401

Posted 1 week ago by V2n

could someone please explain me why

Gate::authorize('somePolicy', $someModel)

throws 403 when no user is logged in? I would expect 401 ... Thanks

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