]> source.dussan.org Git - nextcloud-server.git/commitdiff
Enable passwordless for everyone not only admins. 21274/head
authorDaniel Kesselberg <mail@danielkesselberg.de>
Sat, 6 Jun 2020 19:32:24 +0000 (21:32 +0200)
committerDaniel Kesselberg <mail@danielkesselberg.de>
Sat, 6 Jun 2020 19:34:49 +0000 (21:34 +0200)
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
apps/settings/lib/Controller/WebAuthnController.php

index 6f41bdf63215585c7a77dc6200c24112e5c8528d..db6fc303a056cf4fcd79710472b43dad307bcc8a 100644 (file)
@@ -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 {