Enable passwordless for everyone not only admins.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
This commit is contained in:
parent
5795271cef
commit
df75d3ab59
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue