summaryrefslogtreecommitdiffstats
path: root/core/Command/TwoFactorAuth/Base.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/Command/TwoFactorAuth/Base.php')
-rw-r--r--core/Command/TwoFactorAuth/Base.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/core/Command/TwoFactorAuth/Base.php b/core/Command/TwoFactorAuth/Base.php
index 27bd381d951..a36cb2af374 100644
--- a/core/Command/TwoFactorAuth/Base.php
+++ b/core/Command/TwoFactorAuth/Base.php
@@ -30,7 +30,12 @@ use OCP\IUserManager;
use Stecman\Component\Symfony\Console\BashCompletion\CompletionContext;
class Base extends \OC\Core\Command\Base {
- protected IUserManager $userManager;
+ public function __construct(
+ ?string $name,
+ protected IUserManager $userManager,
+ ) {
+ parent::__construct($name);
+ }
/**
* Return possible values for the named option