Skip to content

Commit

Permalink
Simplify TiqrContext method
Browse files Browse the repository at this point in the history
  • Loading branch information
MKodde committed Jan 23, 2024
1 parent 3343e0c commit 1501b03
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Features/Context/TiqrContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1501b03

Please sign in to comment.