Commit 88681b48651d8336ce6791afd9ffffc23158790e

Authored by Alex Savenko
1 parent a5f1ce63

user registration

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