Commit 5d5b970bdb6669d18dac96165058dac612376f27

Authored by Alex Savenko
1 parent fcc1a0d6

user registration

Showing 1 changed file with 5 additions and 0 deletions   Show diff stats
app/library/App/Controllers/UserController.php
@@ -44,6 +44,11 @@ class UserController extends CrudResourceController @@ -44,6 +44,11 @@ class UserController extends CrudResourceController
44 44
45 public function registration() { 45 public function registration() {
46 46
  47 + return [
  48 + 'firstName',
  49 + 'lastName',
  50 + 'password'
  51 + ];
47 return json_encode($this->create()); 52 return json_encode($this->create());
48 53
49 } 54 }