summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-02-21 17:56:09 +0100
committerAleksander Machniak <alec@alec.pl>2012-02-21 17:56:09 +0100
commitcf52c1c6343440fc9aea1bb33256625c5431c500 (patch)
tree122d1a9bb0598bb43e8c6dbab935a25632a37d4e
parentb33eb6fc6b198dfd4764505f663cdf46c231185a (diff)
downloadwebadmin-cf52c1c6343440fc9aea1bb33256625c5431c500.tar.gz
Don't show password in user edit form
-rw-r--r--lib/client/kolab_client_task_user.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/client/kolab_client_task_user.php b/lib/client/kolab_client_task_user.php
index 5548a3a..71450d9 100644
--- a/lib/client/kolab_client_task_user.php
+++ b/lib/client/kolab_client_task_user.php
@@ -435,6 +435,8 @@ class kolab_client_task_user extends kolab_client_task
}
else {
$title = $data['displayname'];
+ // remove password
+ $data['userpassword'] = '';
}
// Parse elements and add them to the form object