Commit ae89192a9f153b06802643b2fbcaae4ca24b30fd
1 parent
84d83382
registration
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
app/library/App/Controllers/UserController.php
| ... | ... | @@ -55,6 +55,7 @@ class UserController extends CrudResourceController |
| 55 | 55 | $item = $this->createModelInstance(); |
| 56 | 56 | |
| 57 | 57 | //$newItem = $this->createItem($item, $data); |
| 58 | + $item->assign($data, null, $this->whitelistCreate()); | |
| 58 | 59 | $this->afterAssignData($item, $data); |
| 59 | 60 | |
| 60 | 61 | $this->beforeSave($item); | ... | ... |