Skip to content

Commit

Permalink
fix: add PasswordConfirmationRequired to update and delete method
Browse files Browse the repository at this point in the history
  • Loading branch information
yemkareems committed Oct 14, 2024
1 parent 3356b46 commit 49c4ef7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/files_external/lib/Controller/UserStoragesController.php
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ public function create(
* @return DataResponse
*/
#[NoAdminRequired]
#[PasswordConfirmationRequired]
public function update(
$id,
$mountPoint,
Expand Down Expand Up @@ -207,6 +208,7 @@ public function update(
* {@inheritdoc}
*/
#[NoAdminRequired]
#[PasswordConfirmationRequired]
public function destroy($id) {
return parent::destroy($id);
}
Expand Down

0 comments on commit 49c4ef7

Please sign in to comment.