Merge pull request #21274 from nextcloud/bug/21268/paswordless-for-everyone

Enable passwordless for everyone not only admins.
This commit is contained in:
Roeland Jago Douma 2020-06-07 15:04:47 +02:00 committed by GitHub
commit ce7a15e804
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 {