Merge pull request #21287 from nextcloud/backport/21274/stable19
[stable19] Enable passwordless for everyone not only admins.
This commit is contained in:
commit
418c288933
|
@ -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