Commit e1949eeed6f6aef8be5cd7e9d19455f1eb020499
1 parent
f48df623
user registration
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
app/library/App/Controllers/UserController.php
... | ... | @@ -66,12 +66,14 @@ class UserController extends CrudResourceController |
66 | 66 | |
67 | 67 | $item = $this->createModelInstance(); |
68 | 68 | |
69 | + return var_dump($data); | |
69 | 70 | $newItem = $this->createItem($item, $data); |
70 | 71 | |
71 | 72 | if (!$newItem) { |
72 | 73 | return $this->onCreateFailed($item, $data); |
73 | 74 | } |
74 | 75 | |
76 | + | |
75 | 77 | $primaryKey = $this->getModelPrimaryKey(); |
76 | 78 | $responseData = $this->getFindData($newItem->$primaryKey); |
77 | 79 | ... | ... |