diff options
author | Faraz Samapoor <f.samapoor@gmail.com> | 2023-06-05 01:15:34 +0330 |
---|---|---|
committer | Louis <6653109+artonge@users.noreply.github.com> | 2023-06-16 19:29:40 +0200 |
commit | 73b7096850a8cd4530c327f32acaacd6c9bcd279 (patch) | |
tree | ff567abdf05d6c7fe628dd9581cadd551209a81d /core | |
parent | 468aefc6498f3e0ecee266f1af0fe25c4d99701a (diff) | |
download | nextcloud-server-73b7096850a8cd4530c327f32acaacd6c9bcd279.tar.gz nextcloud-server-73b7096850a8cd4530c327f32acaacd6c9bcd279.zip |
Fixes psalm error.
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
Diffstat (limited to 'core')
-rw-r--r-- | core/Controller/LoginController.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Controller/LoginController.php b/core/Controller/LoginController.php index 97b656667ff..c684b82d8dc 100644 --- a/core/Controller/LoginController.php +++ b/core/Controller/LoginController.php @@ -38,6 +38,7 @@ use OC\Authentication\Login\Chain; use OC\Authentication\Login\LoginData; use OC\Authentication\WebAuthn\Manager as WebAuthnManager; use OC\Security\Bruteforce\Throttler; +use OC\User\Session; use OC_App; use OCP\AppFramework\Controller; use OCP\AppFramework\Http; @@ -54,7 +55,6 @@ use OCP\ISession; use OCP\IURLGenerator; use OCP\IUser; use OCP\IUserManager; -use OCP\IUserSession; use OCP\Notification\IManager; use OCP\Util; @@ -67,7 +67,7 @@ class LoginController extends Controller { private IUserManager $userManager, private IConfig $config, private ISession $session, - private IUserSession $userSession, + private Session $userSession, private IURLGenerator $urlGenerator, private Defaults $defaults, private Throttler $throttler, |