diff options
Diffstat (limited to 'apps/user_ldap/lib/AppInfo/Application.php')
-rw-r--r-- | apps/user_ldap/lib/AppInfo/Application.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/user_ldap/lib/AppInfo/Application.php b/apps/user_ldap/lib/AppInfo/Application.php index 6d5c416f04f..59d7cdb4924 100644 --- a/apps/user_ldap/lib/AppInfo/Application.php +++ b/apps/user_ldap/lib/AppInfo/Application.php @@ -24,6 +24,8 @@ namespace OCA\User_LDAP\AppInfo; use OCA\User_LDAP\Controller\RenewPasswordController; +use OCA\User_LDAP\ILDAPWrapper; +use OCA\User_LDAP\LDAP; use OCP\AppFramework\App; use OCP\AppFramework\IAppContainer; use OCP\IL10N; @@ -50,5 +52,9 @@ class Application extends App { $server->getURLGenerator() ); }); + + $container->registerService(ILDAPWrapper::class, function () { + return new LDAP(); + }); } } |