Commit 0fc45016c82feb61270f7936c9c48e0b2a8179e0
1 parent
a85cc509
registration
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/library/App/Resources/UserResource.php
@@ -40,7 +40,7 @@ class UserResource extends ApiResource { | @@ -40,7 +40,7 @@ class UserResource extends ApiResource { | ||
40 | 'expires' => 1451139067 | 40 | 'expires' => 1451139067 |
41 | ]) | 41 | ]) |
42 | ) | 42 | ) |
43 | - ->endpoint(ApiEndpoint::post('/register', 'register') | 43 | + ->endpoint(ApiEndpoint::post('/', 'register') |
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') |