krafthaus / bauhaus

Laravel 4 Admin Generator
http://bauhaus.krafthaus.nl/
GNU General Public License v2.0
1 stars 0 forks source link

MassAssignmentException _token #72

Closed tholu closed 7 years ago

tholu commented 9 years ago

When creating a new item, I get a MassAssignmentException because of the CSRF _token. _token should be excluded by default. Currently the preferred way seems to be to define the fillable fields like this: http://laravel.com/docs/4.2/eloquent#mass-assignment