Commit 1dfb5913c5fb5fa0101b1c46f6410c23cd9a72f6
1 parent
b264431e
user registration
Showing
1 changed file
with
1 additions
and
2 deletions
Show diff stats
app/library/App/Controllers/UserController.php
@@ -75,10 +75,9 @@ class UserController extends CrudResourceController | @@ -75,10 +75,9 @@ class UserController extends CrudResourceController | ||
75 | $primaryKey = $this->getModelPrimaryKey(); | 75 | $primaryKey = $this->getModelPrimaryKey(); |
76 | $responseData = $this->getFindData($newItem->$primaryKey); | 76 | $responseData = $this->getFindData($newItem->$primaryKey); |
77 | 77 | ||
78 | + return $data; | ||
78 | $response = $this->getCreateResponse($responseData, $data); | 79 | $response = $this->getCreateResponse($responseData, $data); |
79 | 80 | ||
80 | - return $data; | ||
81 | - | ||
82 | $this->afterHandleCreate($newItem, $data, $response); | 81 | $this->afterHandleCreate($newItem, $data, $response); |
83 | $this->afterHandleWrite(); | 82 | $this->afterHandleWrite(); |
84 | $this->afterHandle(); | 83 | $this->afterHandle(); |