diff options
author | Bjoern Schiessle <bjoern@schiessle.org> | 2017-03-13 10:55:08 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2017-04-11 15:04:01 +0200 |
commit | 3bc72f7224b6698c13d66c102e55e65467105c94 (patch) | |
tree | fe419c918bee444d46bf96b70eef16700b73849a /apps/federation/appinfo | |
parent | e2d7bffcdad5fa7f67728f419bcb27955a5e3c1a (diff) | |
download | nextcloud-server-3bc72f7224b6698c13d66c102e55e65467105c94.tar.gz nextcloud-server-3bc72f7224b6698c13d66c102e55e65467105c94.zip |
give old end-points a seperate name
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'apps/federation/appinfo')
-rw-r--r-- | apps/federation/appinfo/routes.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/federation/appinfo/routes.php b/apps/federation/appinfo/routes.php index 4c742dd705c..01c37eab584 100644 --- a/apps/federation/appinfo/routes.php +++ b/apps/federation/appinfo/routes.php @@ -45,12 +45,12 @@ $application->registerRoutes( 'ocs' => [ // old endpoints, only used by Nextcloud and ownCloud [ - 'name' => 'OCSAuthAPI#getSharedSecret', + 'name' => 'OCSAuthAPI#getSharedSecretLegacy', 'url' => '/api/v1/shared-secret', 'verb' => 'GET', ], [ - 'name' => 'OCSAuthAPI#requestSharedSecret', + 'name' => 'OCSAuthAPI#requestSharedSecretLegacy', 'url' => '/api/v1/request-shared-secret', 'verb' => 'POST', ], |