diff options
author | Johannes Riedel <joeried@users.noreply.github.com> | 2020-03-17 19:06:52 +0300 |
---|---|---|
committer | Johannes Riedel <joeried@users.noreply.github.com> | 2020-03-19 18:20:22 +0300 |
commit | 0c38569c83466b52013b7890432bcb6ae74df883 (patch) | |
tree | b1471dd69a7ba4aa3a3e6b338debda8bb53d45e4 /core/register_command.php | |
parent | 25ce3c434b66195bfb0b347de6125d0fa1538898 (diff) |
Implement occ command security:bruteforceattemps:reset-for-ip
Signed-off-by: Johannes Riedel <joeried@users.noreply.github.com>
Diffstat (limited to 'core/register_command.php')
-rw-r--r-- | core/register_command.php | 1 |
1 files changed, 1 insertions, 0 deletions
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())); } |