Skip to content
This repository was archived by the owner on Jul 16, 2023. It is now read-only.

Commit 9c12501

Browse files
committed
Including additional info on purged fields
Refs #193
1 parent 9fbe733 commit 9c12501

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ class User extends \LaravelBook\Ardent\Ardent {
339339

340340
## Automatically Purge Redundant Form Data
341341

342-
Ardent models can *auto-magically* purge redundant input data (such as *password confirmation* fields) - so that the extra data is never saved to database. Ardent will use the confirmation fields to validate form input, then prudently discard these attributes before saving the model instance to database!
342+
Ardent models can *auto-magically* purge redundant input data (such as *password confirmation*, hidden CSRF `_token` or custom HTTP `_method` fields) - so that the extra data is never saved to database. Ardent will use the confirmation fields to validate form input, then prudently discard these attributes before saving the model instance to database!
343343

344344
To enable this feature, simply set the `$autoPurgeRedundantAttributes` instance variable to `true` in your model class:
345345

0 commit comments

Comments
 (0)