From 2dcb4cfbd644babf0ee202b4489689d882ae1dd3 Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Fri, 17 May 2019 09:51:47 +0200 Subject: Allow clients to delete their own apptoken Fixes #15480 Signed-off-by: Roeland Jago Douma --- core/routes.php | 1 + 1 file changed, 1 insertion(+) (limited to 'core/routes.php') diff --git a/core/routes.php b/core/routes.php index 1544fd67e07..073352c4421 100644 --- a/core/routes.php +++ b/core/routes.php @@ -102,6 +102,7 @@ $application->registerRoutes($this, [ ['root' => '/core', 'name' => 'WhatsNew#get', 'url' => '/whatsnew', 'verb' => 'GET'], ['root' => '/core', 'name' => 'WhatsNew#dismiss', 'url' => '/whatsnew', 'verb' => 'POST'], ['root' => '/core', 'name' => 'AppPassword#getAppPassword', 'url' => '/getapppassword', 'verb' => 'GET'], + ['root' => '/core', 'name' => 'AppPassword#deleteAppPassword', 'url' => '/apppassword', 'verb' => 'DELETE'], ['root' => '/collaboration', 'name' => 'CollaborationResources#searchCollections', 'url' => '/resources/collections/search/{filter}', 'verb' => 'GET'], ['root' => '/collaboration', 'name' => 'CollaborationResources#listCollection', 'url' => '/resources/collections/{collectionId}', 'verb' => 'GET'], -- cgit v1.2.3