diff options
author | yemkareems <yemkareems@gmail.com> | 2024-10-14 18:29:45 +0530 |
---|---|---|
committer | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-10-16 16:49:13 +0200 |
commit | b86dc076b554569d6b6bfc8c69509c0bae9685f1 (patch) | |
tree | dc3d63636615c5dabb41872edae0a807cb800760 /apps | |
parent | d3f1b76ebb4e31a6e522263059ad151b75f7e397 (diff) | |
download | nextcloud-server-b86dc076b554569d6b6bfc8c69509c0bae9685f1.tar.gz nextcloud-server-b86dc076b554569d6b6bfc8c69509c0bae9685f1.zip |
fix: add PasswordConfirmationRequired to update and delete method
Signed-off-by: yemkareems <yemkareems@gmail.com>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_external/lib/Controller/UserStoragesController.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files_external/lib/Controller/UserStoragesController.php b/apps/files_external/lib/Controller/UserStoragesController.php index 2a1e59edde1..0cd060b5294 100644 --- a/apps/files_external/lib/Controller/UserStoragesController.php +++ b/apps/files_external/lib/Controller/UserStoragesController.php @@ -156,6 +156,7 @@ class UserStoragesController extends StoragesController { * @return DataResponse */ #[NoAdminRequired] + #[PasswordConfirmationRequired] public function update( $id, $mountPoint, @@ -207,6 +208,7 @@ class UserStoragesController extends StoragesController { * {@inheritdoc} */ #[NoAdminRequired] + #[PasswordConfirmationRequired] public function destroy($id) { return parent::destroy($id); } |