Commit cd6652c009ef037010c30acc0f39a4d030975391
1 parent
2ca0d54e
user registration
Showing
1 changed file
with
1 additions
and
2 deletions
Show diff stats
app/library/App/Controllers/UserController.php
| ... | ... | @@ -65,11 +65,10 @@ class UserController extends CrudResourceController |
| 65 | 65 | $data = $this->transformPostData($data); |
| 66 | 66 | |
| 67 | 67 | $item = $this->createModelInstance(); |
| 68 | + return var_dump($item); | |
| 68 | 69 | |
| 69 | 70 | $newItem = $this->createItem($item, $data); |
| 70 | 71 | |
| 71 | - return var_dump($newItem); | |
| 72 | - | |
| 73 | 72 | if (!$newItem) { |
| 74 | 73 | return $this->onCreateFailed($item, $data); |
| 75 | 74 | } | ... | ... |