aboutsummaryrefslogtreecommitdiffstats
path: root/apps/user_ldap
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2012-05-14 13:13:08 +0200
committerArthur Schiwon <blizzz@owncloud.com>2012-05-14 13:13:08 +0200
commit0c8740c1d598a4b37af59bfd3e7e4f0c8a58e513 (patch)
tree83a14f313ca7c67c84c6b816ab10e689bda5f7e3 /apps/user_ldap
parent82cfb3e0f540616fce0dbccbb4af6cfbaf5150c4 (diff)
downloadnextcloud-server-0c8740c1d598a4b37af59bfd3e7e4f0c8a58e513.tar.gz
nextcloud-server-0c8740c1d598a4b37af59bfd3e7e4f0c8a58e513.zip
LDAP: and don't forget the else part
Diffstat (limited to 'apps/user_ldap')
-rwxr-xr-xapps/user_ldap/settings.php3
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