Commit 07f071db88d5f7776c2f1a85eade75d4be1761ed

Authored by Alex Savenko
1 parent 95622a8c

user registration

Showing 1 changed file with 2 additions and 0 deletions   Show diff stats
app/library/App/Controllers/UserController.php
@@ -50,6 +50,8 @@ class UserController extends CrudResourceController @@ -50,6 +50,8 @@ class UserController extends CrudResourceController
50 50
51 $data = $this->getPostedData(); 51 $data = $this->getPostedData();
52 52
  53 + return $data;
  54 +
53 if (!$data || count($data) == 0) { 55 if (!$data || count($data) == 0) {
54 return $this->onNoDataProvided(); 56 return $this->onNoDataProvided();
55 } 57 }