diff --git a/src/LaravelBook/Ardent/Ardent.php b/src/LaravelBook/Ardent/Ardent.php index dbec390..567251e 100644 --- a/src/LaravelBook/Ardent/Ardent.php +++ b/src/LaravelBook/Ardent/Ardent.php @@ -639,6 +639,11 @@ protected function addBasicPurgeFilters() { return false; } + // "_token" is used by Illuminate\Html\FormBuilder to add CSRF protection + if (strcmp($attributeKey, '_token') === 0) { + return false; + } + return true; };