Laravel Developer at Code Runway B.V.
Lead developer at 3rdRisk.com. Proud father of two kids. Tech optimist. Apple and Laravel enthusiast.
Markdown supported · ⌘↵ to post
I thought this is handled automatically via checksum. From livewire documentation v2 (cannot paste the link):
The Checksum The fundamental security underpinning Livewire is a "checksum" that travels along with request/responses and is used to validate that the state from the server hasn't been tampered with in the browser.
Ruben van Erk
Wouldn't
$this->authorize('update', $post)in the save method prevent you from tampering with posts you're not authorized to update?