Commit 7b497b2074f9ddd12ab5ebc56e9d7561f4b987f4
1 parent
08ab7379
user registration
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
app/library/App/Controllers/UserController.php
... | ... | @@ -46,8 +46,6 @@ class UserController extends CrudResourceController |
46 | 46 | |
47 | 47 | $data = $this->getPostedData(); |
48 | 48 | |
49 | - return $data; | |
50 | - | |
51 | 49 | if (!$data || count($data) == 0) { |
52 | 50 | return $this->onNoDataProvided(); |
53 | 51 | } |
... | ... | @@ -60,6 +58,8 @@ class UserController extends CrudResourceController |
60 | 58 | return $this->onNotAllowed(); |
61 | 59 | } |
62 | 60 | |
61 | + return $data; | |
62 | + | |
63 | 63 | $data = $this->transformPostData($data); |
64 | 64 | |
65 | 65 | $item = $this->createModelInstance(); | ... | ... |