diff options
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 9df51e517a0..0115c179bf9 100644 --- a/core/register_command.php +++ b/core/register_command.php @@ -72,6 +72,7 @@ if (\OC::$server->getConfig()->getSystemValue('installed', false)) { $application->add(new OC\Core\Command\TwoFactorAuth\Disable( \OC::$server->getTwoFactorAuthManager(), \OC::$server->getUserManager() )); + $application->add(\OC::$server->query(\OC\Core\Command\TwoFactorAuth\State::class)); $application->add(new OC\Core\Command\Background\Cron(\OC::$server->getConfig())); $application->add(new OC\Core\Command\Background\WebCron(\OC::$server->getConfig())); |