Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/user_saml.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2016-11-14 13:54:03 +0300
committerLukas Reschke <lukas@statuscode.ch>2016-11-14 15:47:30 +0300
commit314ae475f67051e84b99732d55026550de802552 (patch)
treef3f82f6397f6f8c4907090e15f2e0090e8890ec7 /lib/AppInfo
parent5855e6e2ccb352ea8aa8637e17c885e21be76e81 (diff)
Add support for environment variable login
Diffstat (limited to 'lib/AppInfo')
-rw-r--r--lib/AppInfo/Application.php21
1 files changed, 0 insertions, 21 deletions
diff --git a/lib/AppInfo/Application.php b/lib/AppInfo/Application.php
index 9f052996..cc292505 100644
--- a/lib/AppInfo/Application.php
+++ b/lib/AppInfo/Application.php
@@ -34,27 +34,6 @@ class Application extends App {
$container = $this->getContainer();
/**
- * Controller
- */
- $container->registerService('SAMLController', function(IAppContainer $c) {
- /** @var \OC\Server $server */
- $server = $c->query('ServerContainer');
- return new SAMLController(
- $c->getAppName(),
- $server->getRequest(),
- $server->getSession(),
- $server->getUserSession(),
- new SAMLSettings($server->getURLGenerator(), $server->getConfig()),
- new UserBackend(
- $server->getConfig(),
- $server->getURLGenerator(),
- $server->getSession(),
- $server->getDb()
- )
- );
- });
-
- /**
* Middleware
*/
$container->registerService('OnlyLoggedInMiddleware', function(IAppContainer $c){