Commit 78bb0a2af6a56fc1d3511b5bf75e3a8cb77ea975

Authored by Alex Savenko
1 parent 34ce0f86

registration

Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
app/library/App/Resources/UserResource.php
... ... @@ -44,6 +44,7 @@ class UserResource extends ApiResource {
44 44 ->allow(AclRoles::UNAUTHORIZED)
45 45 ->deny(AclRoles::AUTHORIZED)
46 46 ->description('Register new user')
  47 + ->expectsJsonData()
47 48 );
48 49 }
49 50 }
50 51 \ No newline at end of file
... ...