Skip to content
Snippets Groups Projects
Unverified Commit 1937e58e authored by Juan Pablo Villafáñez's avatar Juan Pablo Villafáñez Committed by Arthur Schiwon
Browse files

Add prefix to the connection

parent ba2b274f
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment