From 0c38569c83466b52013b7890432bcb6ae74df883 Mon Sep 17 00:00:00 2001 From: Johannes Riedel Date: Tue, 17 Mar 2020 17:06:52 +0100 Subject: Implement occ command security:bruteforceattemps:reset-for-ip Signed-off-by: Johannes Riedel --- core/register_command.php | 1 + 1 file changed, 1 insertion(+) (limited to 'core/register_command.php') diff --git a/core/register_command.php b/core/register_command.php index efa3146c492..bad27b25ec7 100644 --- a/core/register_command.php +++ b/core/register_command.php @@ -174,6 +174,7 @@ if (\OC::$server->getConfig()->getSystemValue('installed', false)) { $application->add(new OC\Core\Command\Security\ListCertificates(\OC::$server->getCertificateManager(null), \OC::$server->getL10N('core'))); $application->add(new OC\Core\Command\Security\ImportCertificate(\OC::$server->getCertificateManager(null))); $application->add(new OC\Core\Command\Security\RemoveCertificate(\OC::$server->getCertificateManager(null))); + $application->add(new OC\Core\Command\Security\ResetBruteforceAttempts(\OC::$server->getBruteForceThrottler())); } else { $application->add(new OC\Core\Command\Maintenance\Install(\OC::$server->getSystemConfig())); } -- cgit v1.2.3