diff options
author | yemkareems <yemkareems@gmail.com> | 2024-10-28 16:43:24 +0530 |
---|---|---|
committer | yemkareems <yemkareems@gmail.com> | 2024-10-28 16:43:24 +0530 |
commit | 34b07ace9579db1ce04feebd1c15f626f5503ee3 (patch) | |
tree | 9b3e2ee7c2e21628ea8f80b07f9c154f32f2d360 | |
parent | 3fd16de636e6ee32de9bc8c808a9c6eda2523493 (diff) | |
download | nextcloud-server-34b07ace9579db1ce04feebd1c15f626f5503ee3.tar.gz nextcloud-server-34b07ace9579db1ce04feebd1c15f626f5503ee3.zip |
fix: crypto made inline for constructor and decrypt error handled in exceptionfix/encrypt-decrypt-password
Signed-off-by: yemkareems <yemkareems@gmail.com>
-rw-r--r-- | lib/private/Authentication/LoginCredentials/Store.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/private/Authentication/LoginCredentials/Store.php b/lib/private/Authentication/LoginCredentials/Store.php index 3330eb90230..b6f22ce345f 100644 --- a/lib/private/Authentication/LoginCredentials/Store.php +++ b/lib/private/Authentication/LoginCredentials/Store.php @@ -31,10 +31,12 @@ class Store implements IStore { /** @var IProvider|null */ private $tokenProvider; - public function __construct(ISession $session, + public function __construct( + ISession $session, LoggerInterface $logger, private readonly ICrypto $crypto, - ?IProvider $tokenProvider = null) { + ?IProvider $tokenProvider = null, + ) { $this->session = $session; $this->logger = $logger; $this->tokenProvider = $tokenProvider; |