diff options
Diffstat (limited to 'ocs')
-rw-r--r-- | ocs/routes.php | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/ocs/routes.php b/ocs/routes.php index c4a74d77900..845ee49a46d 100644 --- a/ocs/routes.php +++ b/ocs/routes.php @@ -73,4 +73,11 @@ OC_API::register( array('OC_OCS_Cloud', 'getUser'), 'core', OC_API::USER_AUTH - ); +); +OC_API::register( + 'get', + '/cloud/user', + array('OC_OCS_Cloud', 'getCurrentUser'), + 'core', + OC_API::USER_AUTH +); |