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

github.com/nextcloud/twofactor_u2f.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2017-03-14 17:12:01 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2017-04-10 09:14:52 +0300
commit16f760d49ea6b9f37aaeaacaf3f29fe56159831b (patch)
tree1869383b6b12a07575ce72e92459296f0dd4d21c /appinfo/routes.php
parent1d7d5f07871f764ff4cfb25ae66c247f9841a06e (diff)
Add possibility to add multiple U2F devices
Users should be able to add as many devices as they like, hence the interface should allow to list added devices and have a button to add new ones. To identify devices later, users can give names to devices. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'appinfo/routes.php')
-rw-r--r--appinfo/routes.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php
index 5783439..f02b923 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -26,11 +26,6 @@ return [
'verb' => 'GET'
],
[
- 'name' => 'settings#disable',
- 'url' => '/settings/disable',
- 'verb' => 'POST'
- ],
- [
'name' => 'settings#startRegister',
'url' => '/settings/startregister',
'verb' => 'POST'
@@ -40,5 +35,10 @@ return [
'url' => '/settings/finishregister',
'verb' => 'POST'
],
+ [
+ 'name' => 'settings#remove',
+ 'url' => '/settings/remove',
+ 'verb' => 'POST'
+ ],
]
];