Commit 3ada9ad0f12ca8e7202cdb4cc60143bb7e761702

Authored by Alex Savenko
1 parent 5f8274c1

user registration

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/library/App/Controllers/UserController.php
@@ -73,7 +73,7 @@ class UserController extends CrudResourceController @@ -73,7 +73,7 @@ class UserController extends CrudResourceController
73 } 73 }
74 74
75 $primaryKey = $this->getModelPrimaryKey(); 75 $primaryKey = $this->getModelPrimaryKey();
76 - return var_dump($newItem->readAttribute('id')); 76 + return var_dump($newItem->readAttribute("password"));
77 $responseData = $this->getFindData($newItem->$primaryKey); 77 $responseData = $this->getFindData($newItem->$primaryKey);
78 78
79 $response = $this->getCreateResponse($responseData, $data); 79 $response = $this->getCreateResponse($responseData, $data);