Commit fdc476fa68a98269d89af4dea15daf36847e436f

Authored by Alex Savenko
1 parent 3108ce6f

user registration

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/library/App/Resources/UserResource.php
... ... @@ -41,7 +41,7 @@ class UserResource extends ApiResource {
41 41 ])
42 42 )
43 43 ->endpoint(ApiEndpoint::post('/registration', 'registration'))
44   - ->allow(AclRoles::UNAUTHORIZED)
  44 + ->allow(AclRoles::AUTHORIZED)
45 45 ->description('Registration')
46 46 ;
47 47 }
... ...