Enable passwordless for everyone not only admins.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
This commit is contained in:
Daniel Kesselberg 2020-06-06 21:32:24 +02:00 committed by backportbot[bot]
parent 5795271cef
commit df75d3ab59
1 changed files with 3 additions and 0 deletions

View File

@ -65,6 +65,7 @@ class WebAuthnController extends Controller {
/** /**
* @NoAdminRequired * @NoAdminRequired
* @NoSubadminRequired
* @PasswordConfirmationRequired * @PasswordConfirmationRequired
* @UseSession * @UseSession
* @NoCSRFRequired * @NoCSRFRequired
@ -82,6 +83,7 @@ class WebAuthnController extends Controller {
/** /**
* @NoAdminRequired * @NoAdminRequired
* @NoSubadminRequired
* @PasswordConfirmationRequired * @PasswordConfirmationRequired
* @UseSession * @UseSession
*/ */
@ -103,6 +105,7 @@ class WebAuthnController extends Controller {
/** /**
* @NoAdminRequired * @NoAdminRequired
* @NoSubadminRequired
* @PasswordConfirmationRequired * @PasswordConfirmationRequired
*/ */
public function deleteRegistration(int $id): JSONResponse { public function deleteRegistration(int $id): JSONResponse {