aboutsummaryrefslogtreecommitdiffstats
path: root/core/Controller/LoginController.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/Controller/LoginController.php')
-rw-r--r--core/Controller/LoginController.php46
1 files changed, 11 insertions, 35 deletions
diff --git a/core/Controller/LoginController.php b/core/Controller/LoginController.php
index 9c64204b898..4c3d07c6cf2 100644
--- a/core/Controller/LoginController.php
+++ b/core/Controller/LoginController.php
@@ -63,44 +63,20 @@ class LoginController extends Controller {
public const LOGIN_MSG_INVALIDPASSWORD = 'invalidpassword';
public const LOGIN_MSG_USERDISABLED = 'userdisabled';
- private IUserManager $userManager;
- private IConfig $config;
- private ISession $session;
- /** @var Session */
- private $userSession;
- private IURLGenerator $urlGenerator;
- private Defaults $defaults;
- private Throttler $throttler;
- private IInitialStateService $initialStateService;
- private WebAuthnManager $webAuthnManager;
- private IManager $manager;
- private IL10N $l10n;
-
public function __construct(?string $appName,
IRequest $request,
- IUserManager $userManager,
- IConfig $config,
- ISession $session,
- IUserSession $userSession,
- IURLGenerator $urlGenerator,
- Defaults $defaults,
- Throttler $throttler,
- IInitialStateService $initialStateService,
- WebAuthnManager $webAuthnManager,
- IManager $manager,
- IL10N $l10n) {
+ private IUserManager $userManager,
+ private IConfig $config,
+ private ISession $session,
+ private IUserSession $userSession,
+ private IURLGenerator $urlGenerator,
+ private Defaults $defaults,
+ private Throttler $throttler,
+ private IInitialStateService $initialStateService,
+ private WebAuthnManager $webAuthnManager,
+ private IManager $manager,
+ private IL10N $l10n) {
parent::__construct($appName, $request);
- $this->userManager = $userManager;
- $this->config = $config;
- $this->session = $session;
- $this->userSession = $userSession;
- $this->urlGenerator = $urlGenerator;
- $this->defaults = $defaults;
- $this->throttler = $throttler;
- $this->initialStateService = $initialStateService;
- $this->webAuthnManager = $webAuthnManager;
- $this->manager = $manager;
- $this->l10n = $l10n;
}
/**