Skip to content
Snippets Groups Projects
Commit 10876aba authored by Arthur Schiwon's avatar Arthur Schiwon
Browse files

fix more config keys for save settings handling

parent 0c346632
No related branches found
No related tags found
No related merge requests found
......@@ -303,10 +303,10 @@ class Connection {
foreach($this->config as $key => $value) {
\OCP\Util::writeLog('user_ldap', 'LDAP: storing key '.$key.' value '.$value, \OCP\Util::DEBUG);
switch ($key) {
case 'ldap_agent_password':
case 'ldapAgentPassword':
$value = base64_encode($value);
break;
case 'home_folder_naming_rule':
case 'homeFolderNamingRule':
$value = empty($value) ? 'opt:username' : 'attr:'.$value;
break;
case 'ldapIgnoreNamingRules':
......
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