diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2012-05-14 13:13:08 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2012-05-14 13:13:08 +0200 |
commit | 0c8740c1d598a4b37af59bfd3e7e4f0c8a58e513 (patch) | |
tree | 83a14f313ca7c67c84c6b816ab10e689bda5f7e3 /apps/user_ldap | |
parent | 82cfb3e0f540616fce0dbccbb4af6cfbaf5150c4 (diff) | |
download | nextcloud-server-0c8740c1d598a4b37af59bfd3e7e4f0c8a58e513.tar.gz nextcloud-server-0c8740c1d598a4b37af59bfd3e7e4f0c8a58e513.zip |
LDAP: and don't forget the else part
Diffstat (limited to 'apps/user_ldap')
-rwxr-xr-x | apps/user_ldap/settings.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/user_ldap/settings.php b/apps/user_ldap/settings.php index e5a989b9c79..835b6a04e22 100755 --- a/apps/user_ldap/settings.php +++ b/apps/user_ldap/settings.php @@ -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 |