Commit d5c54830a32519c2a69f77061f2de396161f3fbf

Authored by Alex Savenko
1 parent 453ee7cd

user registration

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