mirror of
https://github.com/nextcloud/server.git
synced 2026-04-28 09:37:29 -04:00
LDAP: and don't forget the else part
This commit is contained in:
parent
82cfb3e0f5
commit
0c8740c1d5
1 changed files with 2 additions and 1 deletions
|
|
@ -29,8 +29,9 @@ if ($_POST) {
|
|||
if(isset($_POST[$param])){
|
||||
if('ldap_agent_password' == $param) {
|
||||
OCP\Config::setAppValue('user_ldap', $param, base64_encode($_POST[$param]));
|
||||
} else {
|
||||
OCP\Config::setAppValue('user_ldap', $param, $_POST[$param]);
|
||||
}
|
||||
OCP\Config::setAppValue('user_ldap', $param, $_POST[$param]);
|
||||
}
|
||||
elseif('ldap_tls' == $param) {
|
||||
// unchecked checkboxes are not included in the post paramters
|
||||
|
|
|
|||
Loading…
Reference in a new issue