Commit 7a2fdcb0832deea7de78e9dac6746290662c1dc1
1 parent
07f071db
user registration
Showing
1 changed file
with
3 additions
and
2 deletions
Show diff stats
app/library/App/Controllers/UserController.php
... | ... | @@ -50,8 +50,6 @@ class UserController extends CrudResourceController |
50 | 50 | |
51 | 51 | $data = $this->getPostedData(); |
52 | 52 | |
53 | - return $data; | |
54 | - | |
55 | 53 | if (!$data || count($data) == 0) { |
56 | 54 | return $this->onNoDataProvided(); |
57 | 55 | } |
... | ... | @@ -68,6 +66,9 @@ class UserController extends CrudResourceController |
68 | 66 | |
69 | 67 | $item = $this->createModelInstance(); |
70 | 68 | |
69 | + | |
70 | + return $data; | |
71 | + | |
71 | 72 | $newItem = $this->createItem($item, $data); |
72 | 73 | |
73 | 74 | if (!$newItem) { | ... | ... |