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