Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2019-08-27 14:46:06 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2019-08-27 14:46:06 +0300
commitcd1f44380461774f58127c19e92815cfa4a8957d (patch)
treedc3c1b8cc208cc3ee9dde2f26290fc049d20ae68 /core/routes.php
parentb7577b6401cb68a6a1f4dc9090facb79a6438753 (diff)
Allow rotation of apppasswords
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 ec8f995304d..829fa8576c8 100644
--- a/core/routes.php
+++ b/core/routes.php
@@ -107,6 +107,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#rotateAppPassword', 'url' => '/apppassword/rotate', 'verb' => 'POST'],
['root' => '/core', 'name' => 'AppPassword#deleteAppPassword', 'url' => '/apppassword', 'verb' => 'DELETE'],
['root' => '/collaboration', 'name' => 'CollaborationResources#searchCollections', 'url' => '/resources/collections/search/{filter}', 'verb' => 'GET'],