File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -247,9 +247,8 @@ Mass Assignment
247247While setting properties to entities in bulk is simple and convenient, it can
248248create significant security issues. Bulk assigning user data from the request
249249into an entity allows the user to modify any and all columns. When using
250- anonymous entity classes CakePHP does not protect against mass-assignment. You
251- can easily protect against mass-assignment by using :doc: `/bake ` to generate your
252- entities.
250+ anonymous entity classes or creating the entity class with the :doc: `/bake `
251+ CakePHP does not protect against mass-assignment.
253252
254253The ``_accessible `` property allows you to provide a map of properties and
255254whether or not they can be mass-assigned. The values ``true `` and ``false ``
You can’t perform that action at this time.
0 commit comments