summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/ajax/wizard.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/user_ldap/ajax/wizard.php')
-rw-r--r--apps/user_ldap/ajax/wizard.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/user_ldap/ajax/wizard.php b/apps/user_ldap/ajax/wizard.php
index 654fb70ced5..826f94f0003 100644
--- a/apps/user_ldap/ajax/wizard.php
+++ b/apps/user_ldap/ajax/wizard.php
@@ -60,7 +60,9 @@ $userManager = new \OCA\User_LDAP\User\Manager(
\OC::$server->getDatabaseConnection(),
\OC::$server->getUserManager());
-$access = new \OCA\User_LDAP\Access($con, $ldapWrapper, $userManager, new \OCA\User_LDAP\Helper());
+$access = new \OCA\User_LDAP\Access($con, $ldapWrapper, $userManager, new \OCA\User_LDAP\Helper(
+ \OC::$server->getConfig()
+));
$wizard = new \OCA\User_LDAP\Wizard($configuration, $ldapWrapper, $access);