aboutsummaryrefslogtreecommitdiffstats
path: root/core/routes.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2019-05-17 09:51:47 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2019-05-17 09:52:06 +0200
commit2dcb4cfbd644babf0ee202b4489689d882ae1dd3 (patch)
treeacb0f85eed9cae44dc47af99d243387100651f74 /core/routes.php
parente625164e85b3ab4be3a51b86f909564430cb388b (diff)
downloadnextcloud-server-2dcb4cfbd644babf0ee202b4489689d882ae1dd3.tar.gz
nextcloud-server-2dcb4cfbd644babf0ee202b4489689d882ae1dd3.zip
Allow clients to delete their own apptoken
Fixes #15480 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'core/routes.php')
-rw-r--r--core/routes.php1
1 files changed, 1 insertions, 0 deletions
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'],