summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/ajax
diff options
context:
space:
mode:
authorJuan Pablo Villafáñez <jvillafanez@solidgear.es>2016-10-25 09:19:24 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2016-10-27 13:08:09 +0200
commit1937e58ec02cfdec73663780ac90a37ed9bdedde (patch)
treea77513922d4f268c7adaa4f2b3534c9d25c69b17 /apps/user_ldap/ajax
parentba2b274fccdeb06ea9ddba0590644653e073d934 (diff)
downloadnextcloud-server-1937e58ec02cfdec73663780ac90a37ed9bdedde.tar.gz
nextcloud-server-1937e58ec02cfdec73663780ac90a37ed9bdedde.zip
Add prefix to the connection
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/user_ldap/ajax')
-rw-r--r--apps/user_ldap/ajax/wizard.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/ajax/wizard.php b/apps/user_ldap/ajax/wizard.php
index 826f94f0003..5d994f40dcb 100644
--- a/apps/user_ldap/ajax/wizard.php
+++ b/apps/user_ldap/ajax/wizard.php
@@ -46,7 +46,7 @@ $prefix = (string)$_POST['ldap_serverconfig_chooser'];
$ldapWrapper = new \OCA\User_LDAP\LDAP();
$configuration = new \OCA\User_LDAP\Configuration($prefix);
-$con = new \OCA\User_LDAP\Connection($ldapWrapper, '', null);
+$con = new \OCA\User_LDAP\Connection($ldapWrapper, $prefix, null);
$con->setConfiguration($configuration->getConfiguration());
$con->ldapConfigurationActive = true;
$con->setIgnoreValidation(true);