aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Kesselberg <mail@danielkesselberg.de>2020-06-06 21:32:24 +0200
committerDaniel Kesselberg <mail@danielkesselberg.de>2020-06-06 21:34:49 +0200
commit761a7bf6a2815855ef8d0c92f657979a847cf577 (patch)
tree6d278d32437b97b1db1a0ccecbca0db7fa5a3af0
parentdba76c04bba910c3c6f1dec4f3eba6416ec3378d (diff)
downloadnextcloud-server-761a7bf6a2815855ef8d0c92f657979a847cf577.tar.gz
nextcloud-server-761a7bf6a2815855ef8d0c92f657979a847cf577.zip
Enable passwordless for everyone not only admins.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
-rw-r--r--apps/settings/lib/Controller/WebAuthnController.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/settings/lib/Controller/WebAuthnController.php b/apps/settings/lib/Controller/WebAuthnController.php
index 6f41bdf6321..db6fc303a05 100644
--- a/apps/settings/lib/Controller/WebAuthnController.php
+++ b/apps/settings/lib/Controller/WebAuthnController.php
@@ -65,6 +65,7 @@ class WebAuthnController extends Controller {
/**
* @NoAdminRequired
+ * @NoSubadminRequired
* @PasswordConfirmationRequired
* @UseSession
* @NoCSRFRequired
@@ -82,6 +83,7 @@ class WebAuthnController extends Controller {
/**
* @NoAdminRequired
+ * @NoSubadminRequired
* @PasswordConfirmationRequired
* @UseSession
*/
@@ -103,6 +105,7 @@ class WebAuthnController extends Controller {
/**
* @NoAdminRequired
+ * @NoSubadminRequired
* @PasswordConfirmationRequired
*/
public function deleteRegistration(int $id): JSONResponse {