diff options
author | Christoph Wurst <christoph@owncloud.com> | 2016-05-17 15:48:41 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@owncloud.com> | 2016-05-23 11:21:13 +0200 |
commit | 847bbc51b61b4222503ae089f78124c2d18d5f22 (patch) | |
tree | 9aceb14765309d83ed6d20fb2848caa8fb543661 /lib/private/Server.php | |
parent | dfb4d426c24c8cbb7e207a3dd92b5fcd894a1977 (diff) | |
download | nextcloud-server-847bbc51b61b4222503ae089f78124c2d18d5f22.tar.gz nextcloud-server-847bbc51b61b4222503ae089f78124c2d18d5f22.zip |
add OCC command to enable/disable 2FA for a user
Diffstat (limited to 'lib/private/Server.php')
-rw-r--r-- | lib/private/Server.php | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |