Commit fcc1a0d6b8c7ee5c7e6e42f55679000fcb1c6671
1 parent
9e77eecb
user registration
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/library/App/Controllers/UserController.php
@@ -44,7 +44,7 @@ class UserController extends CrudResourceController | @@ -44,7 +44,7 @@ class UserController extends CrudResourceController | ||
44 | 44 | ||
45 | public function registration() { | 45 | public function registration() { |
46 | 46 | ||
47 | - return $this->create(); | 47 | + return json_encode($this->create()); |
48 | 48 | ||
49 | } | 49 | } |
50 | 50 |