Commit 416ca2cc08f8be5551b35e8a86a6d6be3bab3d9a
1 parent
7b497b20
user registration
Showing
1 changed file
with
3 additions
and
2 deletions
Show diff stats
app/library/App/Controllers/UserController.php
| ... | ... | @@ -58,10 +58,11 @@ class UserController extends CrudResourceController |
| 58 | 58 | return $this->onNotAllowed(); |
| 59 | 59 | } |
| 60 | 60 | |
| 61 | - return $data; | |
| 62 | - | |
| 63 | 61 | $data = $this->transformPostData($data); |
| 64 | 62 | |
| 63 | + | |
| 64 | + return $data; | |
| 65 | + | |
| 65 | 66 | $item = $this->createModelInstance(); |
| 66 | 67 | |
| 67 | 68 | $newItem = $this->createItem($item, $data); | ... | ... |