From fdc476fa68a98269d89af4dea15daf36847e436f Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 7 Feb 2017 14:13:52 +0200 Subject: [PATCH] user registration --- app/library/App/Resources/UserResource.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/library/App/Resources/UserResource.php b/app/library/App/Resources/UserResource.php index 9c7600c..423bf27 100755 --- a/app/library/App/Resources/UserResource.php +++ b/app/library/App/Resources/UserResource.php @@ -41,7 +41,7 @@ class UserResource extends ApiResource { ]) ) ->endpoint(ApiEndpoint::post('/registration', 'registration')) - ->allow(AclRoles::UNAUTHORIZED) + ->allow(AclRoles::AUTHORIZED) ->description('Registration') ; } -- libgit2 0.21.4