From 78bb0a2af6a56fc1d3511b5bf75e3a8cb77ea975 Mon Sep 17 00:00:00 2001 From: Alex Date: Thu, 16 Feb 2017 17:19:28 +0200 Subject: [PATCH] registration --- app/library/App/Resources/UserResource.php | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/app/library/App/Resources/UserResource.php b/app/library/App/Resources/UserResource.php index 75db1da..a513ace 100755 --- a/app/library/App/Resources/UserResource.php +++ b/app/library/App/Resources/UserResource.php @@ -44,6 +44,7 @@ class UserResource extends ApiResource { ->allow(AclRoles::UNAUTHORIZED) ->deny(AclRoles::AUTHORIZED) ->description('Register new user') + ->expectsJsonData() ); } } \ No newline at end of file -- libgit2 0.21.4