diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2023-10-24 10:42:26 +0200 |
---|---|---|
committer | Côme Chilliet <91878298+come-nc@users.noreply.github.com> | 2023-11-06 15:26:16 +0100 |
commit | b5eeaa90d7fd417a10e6c5096ee9643548e8a4d9 (patch) | |
tree | 49e47acfa3fd4e15044850ae09b9bc40b1252bd4 /core/register_command.php | |
parent | 81a9e19ace190ea0a64d52d95d341e25c7ad618b (diff) | |
download | nextcloud-server-b5eeaa90d7fd417a10e6c5096ee9643548e8a4d9.tar.gz nextcloud-server-b5eeaa90d7fd417a10e6c5096ee9643548e8a4d9.zip |
Add a command to run the setup checks from CLI
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.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 d9e5dfcd775..975dcf6c05f 100644 --- a/core/register_command.php +++ b/core/register_command.php @@ -214,6 +214,7 @@ if (\OC::$server->getConfig()->getSystemValue('installed', false)) { $application->add(new OC\Core\Command\Security\RemoveCertificate(\OC::$server->getCertificateManager())); $application->add(\OC::$server->get(\OC\Core\Command\Security\BruteforceAttempts::class)); $application->add(\OC::$server->get(\OC\Core\Command\Security\BruteforceResetAttempts::class)); + $application->add(\OC::$server->get(\OC\Core\Command\SetupChecks::class)); } else { $application->add(\OC::$server->get(\OC\Core\Command\Maintenance\Install::class)); } |