Merge pull request #21274 from nextcloud/bug/21268/paswordless-for-everyone
Enable passwordless for everyone not only admins.
This commit is contained in:
commit
ce7a15e804
|
@ -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