How to name a policy for multimodel route in Laravel?

I’m trying to write a policy for this route: Route::delete( ‘users/{user}/locations/{location}’, [UserLocationController::class, ‘destroy’], )->middleware(‘can:delete,user,location’); but …

Symfony3 Custom User Provider doesn’t work

I tried to implement everything per Symfony documentation but authentication seems to not work at all. Take a look at what I exactly did: security.yml security: encoders: AppBundleEntity…