Commit 78bb0a2af6a56fc1d3511b5bf75e3a8cb77ea975
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,6 +44,7 @@ class UserResource extends ApiResource { | ||
| 44 | ->allow(AclRoles::UNAUTHORIZED) | 44 | ->allow(AclRoles::UNAUTHORIZED) |
| 45 | ->deny(AclRoles::AUTHORIZED) | 45 | ->deny(AclRoles::AUTHORIZED) |
| 46 | ->description('Register new user') | 46 | ->description('Register new user') |
| 47 | + ->expectsJsonData() | ||
| 47 | ); | 48 | ); |
| 48 | } | 49 | } |
| 49 | } | 50 | } |
| 50 | \ No newline at end of file | 51 | \ No newline at end of file |