diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2019-08-27 13:46:06 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2019-08-27 13:46:06 +0200 |
commit | cd1f44380461774f58127c19e92815cfa4a8957d (patch) | |
tree | dc3c1b8cc208cc3ee9dde2f26290fc049d20ae68 /core/routes.php | |
parent | b7577b6401cb68a6a1f4dc9090facb79a6438753 (diff) | |
download | nextcloud-server-cd1f44380461774f58127c19e92815cfa4a8957d.tar.gz nextcloud-server-cd1f44380461774f58127c19e92815cfa4a8957d.zip |
Allow rotation of apppasswords
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'core/routes.php')
-rw-r--r-- | core/routes.php | 1 |
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'], |