From 88681b48651d8336ce6791afd9ffffc23158790e Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 7 Feb 2017 14:08:46 +0200 Subject: [PATCH] user registration --- app/library/App/Resources/UserResource.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/library/App/Resources/UserResource.php b/app/library/App/Resources/UserResource.php index 9cbeaa8..2992c60 100755 --- a/app/library/App/Resources/UserResource.php +++ b/app/library/App/Resources/UserResource.php @@ -41,8 +41,7 @@ class UserResource extends ApiResource { ]) ) ->endpoint(ApiEndpoint::post('/registration', 'registration')) - //test mode - //->deny(AclRoles::AUTHORIZED) + ->allow(AclRoles::ALL_ROLES) ->description('Registration') ; } -- libgit2 0.21.4