Skip to content

Commit

Permalink
fix: add PasswordConfirmationRequired to update and delete method
Browse files Browse the repository at this point in the history
Signed-off-by: yemkareems <[email protected]>
  • Loading branch information
yemkareems authored and susnux committed Oct 18, 2024
1 parent 501bea8 commit c9075d3
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 c9075d3

Please sign in to comment.