diff options
author | Christoph Wurst <christoph@owncloud.com> | 2016-06-01 10:42:38 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@owncloud.com> | 2016-06-01 10:42:38 +0200 |
commit | da03a85c3c60adbcdd4f85d041263d4d5cee5ca5 (patch) | |
tree | a7736fae6ce4a3346795d89cc3a090731b6f8bbe /apps/dav/lib/Server.php | |
parent | 0f2017c7da6332f66f05e93dd34ea1bf1c134148 (diff) | |
download | nextcloud-server-da03a85c3c60adbcdd4f85d041263d4d5cee5ca5.tar.gz nextcloud-server-da03a85c3c60adbcdd4f85d041263d4d5cee5ca5.zip |
block DAV if 2FA challenge needs to be solved first
Diffstat (limited to 'apps/dav/lib/Server.php')
-rw-r--r-- | apps/dav/lib/Server.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/dav/lib/Server.php b/apps/dav/lib/Server.php index 2a9c36698b1..179558e97ae 100644 --- a/apps/dav/lib/Server.php +++ b/apps/dav/lib/Server.php @@ -25,7 +25,6 @@ namespace OCA\DAV; use OCA\DAV\CalDAV\Schedule\IMipPlugin; -use OCA\DAV\Connector\FedAuth; use OCA\DAV\Connector\Sabre\Auth; use OCA\DAV\Connector\Sabre\BlockLegacyClientPlugin; use OCA\DAV\Connector\Sabre\DavAclPlugin; @@ -57,7 +56,8 @@ class Server { $authBackend = new Auth( \OC::$server->getSession(), \OC::$server->getUserSession(), - \OC::$server->getRequest() + \OC::$server->getRequest(), + \OC::$server->getTwoFactorAuthManager() ); // Set URL explicitly due to reverse-proxy situations |