Commit b264431e0457fc5730e93e7cef7c5bd47533c266

Authored by Alex Savenko
1 parent 2feb2cb3

user registration

Showing 1 changed file with 2 additions and 1 deletions   Show diff stats
app/library/App/Controllers/UserController.php
... ... @@ -77,11 +77,12 @@ class UserController extends CrudResourceController
77 77  
78 78 $response = $this->getCreateResponse($responseData, $data);
79 79  
  80 + return $data;
  81 +
80 82 $this->afterHandleCreate($newItem, $data, $response);
81 83 $this->afterHandleWrite();
82 84 $this->afterHandle();
83 85  
84   - return $data;
85 86 return $response;
86 87  
87 88 }
... ...