From 761a7bf6a2815855ef8d0c92f657979a847cf577 Mon Sep 17 00:00:00 2001 From: Daniel Kesselberg Date: Sat, 6 Jun 2020 21:32:24 +0200 Subject: Enable passwordless for everyone not only admins. Signed-off-by: Daniel Kesselberg --- apps/settings/lib/Controller/WebAuthnController.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'apps/settings/lib') 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 { -- cgit v1.2.3