Commit a5f1ce63eef0c990b62fa4b1c75e700a058f2a6a

Authored by Alex Savenko
1 parent e95cb5df

user registration

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