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
|
* @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 {
|
||||||
|
|
Loading…
Reference in New Issue