Skip to content

Commit

Permalink
fixup! feat: Use inline password confirmation in external storage set…
Browse files Browse the repository at this point in the history
…tings

Signed-off-by: Louis Chemineau <[email protected]>
  • Loading branch information
artonge committed Nov 28, 2024
1 parent 30bf607 commit e140c73
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ public function update(
* {@inheritdoc}
*/
#[NoAdminRequired]
#[PasswordConfirmationRequired]
#[PasswordConfirmationRequired(strict: true)]
public function destroy($id) {
return parent::destroy($id);
}
Expand Down
2 changes: 2 additions & 0 deletions lib/private/AppFramework/DependencyInjection/DIContainer.php
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,8 @@ public function __construct(string $appName, array $urlParams = [], ?ServerConta
$c->get(IUserSession::class),
$c->get(ITimeFactory::class),
$c->get(\OC\Authentication\Token\IProvider::class),
$c->get(IRequest::class),
$c->get(UserManager::class),
)
);
$dispatcher->registerMiddleware(
Expand Down

0 comments on commit e140c73

Please sign in to comment.