Commit 4bc40a2a0888ef1fdeaa0abb45b69b5d0cf06feb

Authored by Alex Savenko
1 parent efc0e9e2

user registration

Showing 1 changed file with 2 additions and 0 deletions   Show diff stats
app/library/App/Controllers/UserController.php
... ... @@ -65,6 +65,8 @@ class UserController extends CrudResourceController
65 65  
66 66 $newItem = $this->createItem($item, $data);
67 67  
  68 + return $data;
  69 +
68 70 if (!$newItem) {
69 71 return $this->onCreateFailed($item, $data);
70 72 }
... ...