While in policy class I have
public function create(User $user)
{
return true;
}
but I get unauthorized error for unauthenticated users.
So how can I exclude the store method from authorization in authorizeResource?
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/37Wq5bC
via IFTTT
Aucun commentaire:
Enregistrer un commentaire