From 2e8e8188e7132bf5ceda2e0cb6de008dadd3fbfa Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 7 Feb 2017 14:21:44 +0200 Subject: [PATCH] user registration --- app/library/App/Controllers/UserController.php | 6 ------ app/library/App/Resources/UserResource.php | 1 - 2 files changed, 0 insertions(+), 7 deletions(-) diff --git a/app/library/App/Controllers/UserController.php b/app/library/App/Controllers/UserController.php index 9d09ad2..ef0e8c9 100755 --- a/app/library/App/Controllers/UserController.php +++ b/app/library/App/Controllers/UserController.php @@ -44,12 +44,6 @@ class UserController extends CrudResourceController public function registration() { - return [ - 'firstName', - 'lastName', - 'password' - ]; - $data = $this->getPostedData(); if (!$data || count($data) == 0) { diff --git a/app/library/App/Resources/UserResource.php b/app/library/App/Resources/UserResource.php index 8ff5542..06987a8 100755 --- a/app/library/App/Resources/UserResource.php +++ b/app/library/App/Resources/UserResource.php @@ -42,7 +42,6 @@ class UserResource extends ApiResource { ->endpoint(ApiEndpoint::post('/registration', 'registration')) ->allow(AclRoles::UNAUTHORIZED) ->deny(AclRoles::AUTHORIZED) - ->description('Registration') ; } } \ No newline at end of file -- libgit2 0.21.4