Add prefix to the connection
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
parent
ba2b274fcc
commit
1937e58ec0
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue