aboutsummaryrefslogtreecommitdiffstats
path: root/core/Command/TwoFactorAuth/Enable.php
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2024-03-15 15:55:27 +0100
committerGitHub <noreply@github.com>2024-03-15 15:55:27 +0100
commit8201a93452601d039576e1c7f540a30e0aa4b9ef (patch)
treeef6566aad1afb1181a5f4d805bef32956c0cef73 /core/Command/TwoFactorAuth/Enable.php
parenta676a67b9ecdb3ec83b6e2e7077a5fa68d220893 (diff)
parente0faca6170e9bf39bfe34fcac225d4ae2ae8c3b7 (diff)
downloadnextcloud-server-8201a93452601d039576e1c7f540a30e0aa4b9ef.tar.gz
nextcloud-server-8201a93452601d039576e1c7f540a30e0aa4b9ef.zip
Merge branch 'master' into show-enabled-and-disabled-apps
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
Diffstat (limited to 'core/Command/TwoFactorAuth/Enable.php')
-rw-r--r--core/Command/TwoFactorAuth/Enable.php14
1 files changed, 8 insertions, 6 deletions
diff --git a/core/Command/TwoFactorAuth/Enable.php b/core/Command/TwoFactorAuth/Enable.php
index 67c1778399d..b0d80c43a61 100644
--- a/core/Command/TwoFactorAuth/Enable.php
+++ b/core/Command/TwoFactorAuth/Enable.php
@@ -29,12 +29,14 @@ use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
class Enable extends Base {
- private ProviderManager $manager;
-
- public function __construct(ProviderManager $manager, IUserManager $userManager) {
- parent::__construct('twofactorauth:enable');
- $this->manager = $manager;
- $this->userManager = $userManager;
+ public function __construct(
+ private ProviderManager $manager,
+ IUserManager $userManager,
+ ) {
+ parent::__construct(
+ 'twofactorauth:enable',
+ $userManager,
+ );
}
protected function configure() {