Merge pull request #21287 from nextcloud/backport/21274/stable19

[stable19] Enable passwordless for everyone not only admins.
This commit is contained in:
Roeland Jago Douma 2020-06-08 11:20:31 +02:00 committed by GitHub
commit 418c288933
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View 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 {