aboutsummaryrefslogtreecommitdiffstats
path: root/apps/settings
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2020-06-07 15:04:47 +0200
committerGitHub <noreply@github.com>2020-06-07 15:04:47 +0200
commitce7a15e804c47609b137e44b2c11dd5eb3b674c0 (patch)
treebdcd8af9e06fd01c47702ef0855deead2135a69f /apps/settings
parent8325ab4bf05494f8c54d226784a55c0988e30f88 (diff)
parent761a7bf6a2815855ef8d0c92f657979a847cf577 (diff)
downloadnextcloud-server-ce7a15e804c47609b137e44b2c11dd5eb3b674c0.tar.gz
nextcloud-server-ce7a15e804c47609b137e44b2c11dd5eb3b674c0.zip
Merge pull request #21274 from nextcloud/bug/21268/paswordless-for-everyone
Enable passwordless for everyone not only admins.
Diffstat (limited to 'apps/settings')
-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 {