Skip to content

Commit 0f10ddb

Browse files
committed
Forgot to commit includes&dep-injection
1 parent 72421bc commit 0f10ddb

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

lib/Controller/SAMLController.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@
4545
use OCP\Security\ICrypto;
4646
use OCP\Security\ITrustedDomainHelper;
4747
use OCP\Server;
48+
use OCP\User\Events\UserLoggedInEvent;
49+
use OCP\User\Events\UserLoggedOutEvent;
4850
use OneLogin\Saml2\Auth;
4951
use OneLogin\Saml2\Error;
5052
use OneLogin\Saml2\Settings;
@@ -94,7 +96,8 @@ public function __construct(
9496
UserResolver $userResolver,
9597
UserData $userData,
9698
ICrypto $crypto,
97-
ITrustedDomainHelper $trustedDomainHelper
99+
ITrustedDomainHelper $trustedDomainHelper,
100+
IEventDispatcher $eventDispatcher
98101
) {
99102
parent::__construct($appName, $request);
100103
$this->session = $session;
@@ -109,6 +112,7 @@ public function __construct(
109112
$this->userData = $userData;
110113
$this->crypto = $crypto;
111114
$this->trustedDomainHelper = $trustedDomainHelper;
115+
$this->eventDispatcher = $eventDispatcher;
112116
}
113117

114118
/**

0 commit comments

Comments
 (0)