From 847bbc51b61b4222503ae089f78124c2d18d5f22 Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Tue, 17 May 2016 15:48:41 +0200 Subject: add OCC command to enable/disable 2FA for a user --- lib/private/Server.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/private/Server.php') diff --git a/lib/private/Server.php b/lib/private/Server.php index 05945cc5c1f..c878afa0a0e 100644 --- a/lib/private/Server.php +++ b/lib/private/Server.php @@ -277,7 +277,7 @@ class Server extends ServerContainer implements IServerContainer { }); $this->registerService('\OC\Authentication\TwoFactorAuth\Manager', function (Server $c) { - return new \OC\Authentication\TwoFactorAuth\Manager($c->getAppManager(), $c->getSession()); + return new \OC\Authentication\TwoFactorAuth\Manager($c->getAppManager(), $c->getSession(), $c->getConfig()); }); $this->registerService('NavigationManager', function ($c) { -- cgit v1.2.3