LDAP: fix method behind save button on advancend and expert tabs, fixes at least Home Folder setinng
This commit is contained in:
parent
ad998c1fb5
commit
1292793c4b
|
@ -129,6 +129,7 @@ class Configuration {
|
||||||
if(!empty($val) && strpos($val, 'attr:') === false) {
|
if(!empty($val) && strpos($val, 'attr:') === false) {
|
||||||
$val = 'attr:'.$val;
|
$val = 'attr:'.$val;
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
case 'ldapBase':
|
case 'ldapBase':
|
||||||
case 'ldapBaseUsers':
|
case 'ldapBaseUsers':
|
||||||
case 'ldapBaseGroups':
|
case 'ldapBaseGroups':
|
||||||
|
@ -140,11 +141,11 @@ class Configuration {
|
||||||
case 'ldapGroupFilterGroups':
|
case 'ldapGroupFilterGroups':
|
||||||
case 'ldapLoginFilterAttributes':
|
case 'ldapLoginFilterAttributes':
|
||||||
$setMethod = 'setMultiLine';
|
$setMethod = 'setMultiLine';
|
||||||
default:
|
break;
|
||||||
$this->$setMethod($key, $val);
|
}
|
||||||
if(is_array($applied)) {
|
$this->$setMethod($key, $val);
|
||||||
$applied[] = $inputkey;
|
if(is_array($applied)) {
|
||||||
}
|
$applied[] = $inputkey;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue