From 1501b0322070530edbcf95092be3efa370ca0984 Mon Sep 17 00:00:00 2001 From: Michiel Kodde Date: Tue, 23 Jan 2024 11:29:34 +0100 Subject: [PATCH] Simplify TiqrContext method --- src/Features/Context/TiqrContext.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Features/Context/TiqrContext.php b/src/Features/Context/TiqrContext.php index 24cab69c..8b657a7d 100644 --- a/src/Features/Context/TiqrContext.php +++ b/src/Features/Context/TiqrContext.php @@ -335,9 +335,7 @@ public function weHaveTheAuthenticationError(string $error): void */ public function tiqrUserIsPermentlyBlockedConfiguration(int $attempts): void { - $container = $this->kernel->getContainer(); - $config = $this->configuration; - $config->setMaxLoginAttempts($attempts); + $this->configuration->setMaxLoginAttempts($attempts); } private function createClientSecret(): string