diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2016-11-14 13:54:03 +0300 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2016-11-14 15:47:30 +0300 |
commit | 314ae475f67051e84b99732d55026550de802552 (patch) | |
tree | f3f82f6397f6f8c4907090e15f2e0090e8890ec7 /lib/AppInfo/Application.php | |
parent | 5855e6e2ccb352ea8aa8637e17c885e21be76e81 (diff) |
Add support for environment variable login
Diffstat (limited to 'lib/AppInfo/Application.php')
-rw-r--r-- | lib/AppInfo/Application.php | 21 |
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){ |