aboutsummaryrefslogtreecommitdiffstats
path: root/core/Command/TwoFactorAuth/Disable.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/Command/TwoFactorAuth/Disable.php')
-rw-r--r--core/Command/TwoFactorAuth/Disable.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/core/Command/TwoFactorAuth/Disable.php b/core/Command/TwoFactorAuth/Disable.php
index 1de4d711e0e..08f1422d458 100644
--- a/core/Command/TwoFactorAuth/Disable.php
+++ b/core/Command/TwoFactorAuth/Disable.php
@@ -33,7 +33,10 @@ class Disable extends Base {
private ProviderManager $manager,
protected IUserManager $userManager,
) {
- parent::__construct('twofactorauth:disable');
+ parent::__construct(
+ 'twofactorauth:disable',
+ $userManager,
+ );
}
protected function configure() {