From 259c0ce11dedeacd225c0776bfc783386f061c5f Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Sat, 29 Sep 2018 18:57:00 +0200 Subject: Add mandatory 2FA service/class Signed-off-by: Christoph Wurst --- 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 ed0220e7055..af8d9977c7f 100644 --- a/core/register_command.php +++ b/core/register_command.php @@ -67,6 +67,7 @@ if (\OC::$server->getConfig()->getSystemValue('installed', false)) { $application->add(new OC\Core\Command\App\ListApps(\OC::$server->getAppManager())); $application->add(\OC::$server->query(\OC\Core\Command\TwoFactorAuth\Cleanup::class)); + $application->add(\OC::$server->query(\OC\Core\Command\TwoFactorAuth\Enforce::class)); $application->add(\OC::$server->query(\OC\Core\Command\TwoFactorAuth\Enable::class)); $application->add(\OC::$server->query(\OC\Core\Command\TwoFactorAuth\Disable::class)); $application->add(\OC::$server->query(\OC\Core\Command\TwoFactorAuth\State::class)); -- cgit v1.2.3