Skip to content

Commit

Permalink
fix: conflicts resolved by adding PasswordConfirmationRequired to upd…
Browse files Browse the repository at this point in the history
…ate method

Signed-off-by: yemkareems <[email protected]>
  • Loading branch information
yemkareems committed Oct 29, 2024
1 parent e8b37e0 commit 63bf012
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
use OCA\Files_External\NotFoundException;
use OCA\Files_External\Service\UserGlobalStoragesService;
use OCP\AppFramework\Http;
use OCP\AppFramework\Http\Attribute\NoAdminRequired;
use OCP\AppFramework\Http\Attribute\PasswordConfirmationRequired;
use OCP\AppFramework\Http\DataResponse;
use OCP\IConfig;
use OCP\IGroupManager;
Expand Down Expand Up @@ -155,9 +157,9 @@ public function show($id, $testOnly = true) {
* @param bool $testOnly whether to storage should only test the connection or do more things
*
* @return DataResponse
*
* @NoAdminRequired
*/
#[NoAdminRequired]
#[PasswordConfirmationRequired]
public function update(
$id,
$backendOptions,
Expand Down

0 comments on commit 63bf012

Please sign in to comment.