diff options
Diffstat (limited to 'core/Command/Security/ResetBruteforceAttempts.php')
-rw-r--r-- | core/Command/Security/ResetBruteforceAttempts.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/Command/Security/ResetBruteforceAttempts.php b/core/Command/Security/ResetBruteforceAttempts.php index dcb827f8ddb..694b65c7acf 100644 --- a/core/Command/Security/ResetBruteforceAttempts.php +++ b/core/Command/Security/ResetBruteforceAttempts.php @@ -49,7 +49,7 @@ class ResetBruteforceAttempts extends Base { ); } - protected function execute(InputInterface $input, OutputInterface $output) { + protected function execute(InputInterface $input, OutputInterface $output): int { $ip = $input->getArgument('ipaddress'); if (!filter_var($ip, FILTER_VALIDATE_IP)) { @@ -58,5 +58,6 @@ class ResetBruteforceAttempts extends Base { } $this->throttler->resetDelayForIP($ip); + return 0; } } |